Hi, I'm using webpage preset and trying to have Settings sector under Style like the demo by doing this (exactly the same as demo.html) but the problem that i have is $('.gjs-trt-traits') this is null therefore, if I toggle 'Settings' under Styles, it is empty. Please let me know..Thank you! var traitsSector = $('<div...
artf
Traits are not created by default if not requested, indeed I'm doing this in the demo https://github.com/artf/grapesjs/blob/gh-pages/demo.html#L1407-L1408
lock[bot]
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
In the demo page https://grapesjs.com/demo.html, I see that the elements are centered using a class called container-width.Where can I see the full list of classes?How do I know that I have to add container-width to center? Where is that class defined? Thanks.
artf
Where can I see the full list of classes? By using the API Selector ManagerHow do I know that I have to add container-width to center? Well, if the demo doesn't tell probably there is no reason to let you know...Where is that class defined...
lock[bot]
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
I wrote a plugin that defines a new Block for a simple headline. However when I drag and drop this block to the canvas I get the placeholder text Text Here and I am not able to edit it. What am I missing ?
artf
I get the placeholder text Text Here ??? no, it's not a placeholder text, this is what you wrote inside your table...I am not able to edit it It works here https://jsfiddle.net/7oeh2man/
lock[bot]
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Hi there, Great app, much appreciated that you have put this out there for the community. Just a quick question, I would like to modify the size and appearance of the different modals, ie. Export, Image upload etc. But it seems there is no unique class/ID on any of the modals. Is there an easy way to add a unique clas...
First of all, I really appreciate your replies on my questions. Thank you for all. Question 1 : I've a situation where if a particular block is already in the canvas, I can't let that block to be added again. What I'm doing is, I'm listing to block:drag:start and compares if the component is already dropped (in gjs-co...
artf
Question 1 : I've a situation where if a particular block is already in the canvas, I can't let that block to be added again. What I'm doing is, I'm listing to block:drag:start and compares if the component is already dropped (in gjs-compo...
lock[bot]
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
WARNING READ and FOLLOW next 5 steps, then REMOVE them before posting the issueFollow CONTRIBUTING Guidelines https://github.com/artf/grapesjs/blob/master/CONTRIBUTING.mdUse the GitHub Issues EXCLUSIVELY for BUGS, FEATURE REQUESTS or QUESTIONS. Prefix the title of the issue with its context, eg. [Bug]: ....Do a quick...
lock[bot]
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
WARNING READ and FOLLOW next 5 steps, then REMOVE them before posting the issueFollow CONTRIBUTING Guidelines https://github.com/artf/grapesjs/blob/master/CONTRIBUTING.mdUse the GitHub Issues EXCLUSIVELY for BUGS, FEATURE REQUESTS or QUESTIONS. Prefix the title of the issue with its context, eg. [Bug]: ....Do a quick...
Brandonwaichunyu
View code doesnt appear on my javascript
lock[bot]
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
GrapesJs editor creates a unique class for element and adds CSS rules to it. For example, Now, is there any way to customize this behaviour? I want it to be .parent-namespace .c1731 instead of just .c1731? Is there any solution to do so? Thanks
narendravaghela
I found this related issue - https://github.com/artf/grapesjs/issues/391
artf
If you need to update CSS rules you should rely on CSS Composer module
lock[bot]
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Hey @artf , How have you been? Quick question: a Panel has a property called visible. I'm trying to set it to false but nothing happens. I'm getting the panel after the GrapesJS is rendered like editor.Panels.getPanel('myId').set('visible', false); I was digging into the source code and I didn't find any use to the vi...
arthuralmeidap
created MR https://github.com/artf/grapesjs/pull/1603
arthuralmeidap
Oh, I didn't say but I want to hide/show the panel according to some condition. I know how I could get the panel html element itself and change the display but I was wondering about the visible property
artf
I was digging into the source code and I didn't find any use to the visible property for the Panel model. Yeap, you're right ๐ฌ I'd expect to see a listener in PanelView Would you like to create a PR for such a case?
Hello. I was wondering if I could put the iframe inside a "</div class="col"/>" bootstrap. Now iframe is generated full screen but mi composition in the web is: "</div class="row"> </div class="col-lg-2"></div> </div class="col-lg-8">"TEMPLATE"</div> </div class="col-lg-2"></div> <//div>" obviously the template that I...
lock[bot]
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.