Hey @artf, I noticed the canvas iframe doesn't appear to have any doctype set on it, which causes it to be in quirks mode. Is this intentional? I'd like to set it to <!DOCTYPE html>, but doing so causes some positioning issues that you can see in this screenshot and demo. Would you be open to a pull request that would...
artf
which causes it to be in quirks mode Which browser?
tomichal
@artf One issue I noticed with the lack of doctype is with HEX color definitions. If a user defines a HEX color as, e.g.: "fff", rather than "#fff", this will work in the editor, but once the page is rendered inside a HTML with doctype spe...
no-response[bot]
This issue has been automatically closed because there has been no response to our request for more information from the original author. With only the information that is currently in the issue, we don't have enough information to take ac...
Tested on both npm and cdn GJS Version - 0.14.20 (latest) OS - Mac Browser - Chrome Problem If CSS class name has a parent or child like #parent .child{ color: red }, user can't reset the style to origin, it still remain inside CodeViewer. Codepen Demo 1 - Adding CSS from block Codepen Demo 2 - Adding CSS inside #gjs...
artf
To remove the CSS codes that belong to a specific block. Indeed that block of CSS doesn't belong to any component (I'm talking about how the editor works) so that declaration is always rendered. GrapesJS can associate only class-based sele...
artf
This is because you're just clearing components. You can use the built-in command core:canvas-clear
ronaldaug
@artf Thanks for your quick reply. Sorry for my unclear question. What I actually want to achieve isTo remove the CSS codes that belong to a specific block. For example, when I delete a block in the canvas, the CSS codes of that block will...
Is there any possible way in grapesjs that whenever a user changes the value of a Trait of a custom component the render function should listening or be re-render? I'm building a custom component for dynamic contents. The custom component code is: I want that whenever user change the value of Trait called Dummy Image...
artf
Update your view in this way
mararn1618
After 2 days this saved my life. Thanks to both of you!
vitanshu
But properties of html are not editable in canvas.
Hi, I've tried finding information about it in both the code as well as existing issues but either I looked for the wrong information or it's not there, yet. I'd like to specify tooltips for e.g. the Style Manager - how can I do that? I've noticed that in the newsletter presets there are less tooltips than in the webs...
cjpollard
If you search for tooltips in the demo html, the code's there.
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 want to save file when i upload in dropzone, to do in init And in my Controler ASP.Net SuperAdmin : But formdata is always null ??? What i wrong ? (i'm beginer why JSon) Merci beaucoup.
artf
Check via devtool if the request is sent from your browser, the server part is up to you, can't help you there
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 want to use grapes.js to create a website constructor for clients and when they show the design it should show the price of constructed website according to how many elements are used. What I am struggling in is that I can not create variable called "Price" and when from Blockmanager something is dragged and dropped...
artf
Currently, you should try with something like this BTW I'd like to re-enable block specific events, so probably with the next release the process will be more concise
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.
Hello, when I use grapesjs (with gjs-preset-webpage or gjs-preset-newsletter) I sometimes have a weird bug. I can't drag the blocks on the right, they don't move when i click on them. Sometimes, even reload the page isn't sufficient. We witnessed this bug with Mozilla and Safari but not with Google Chrome. Did someone...
artf
Hi @algodata44, do you use the latest version? Any error in console? Honestly, I don't face any issue with other browsers so can't actually help you here. You should at least provide a live demo with steps on how to reproduce the issue.
no-response[bot]
This issue has been automatically closed because there has been no response to our request for more information from the original author. With only the information that is currently in the issue, we don't have enough information to take ac...
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.
Hello. Event "component:remove" triggers when any component deselected by ckicking on other place. Browser β Firefox (autoupdated) https://jsfiddle.net/szLp8h4n/207/ here "console.log" listens this event and prints on deselecting, including body of canvas. [google translated]
WkRPcoN
I can confirm I am experiencing the same issue on v0.14.20 this.editor.on('component:remove', function(model) { console.log('comp removed'); });
artf
Will be fixed in the next release
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.