Hi @artf , Following your tip to enable the "keepEmptyTextNodes" option on the Parser to fix my #1915 issue (grapesjs stripping between tags), we found the following (weird) side effect, using the latest 0.14.57: With this option enabled, when dragging & dropping some blocks on a given HTML structure (mostly ta...
artf
Ok, the issue I think is in the Sorter, it doesn't count textnode nodes as children (with keepEmptyTextNodes you keep all of them)
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.
You're submitting a BUG Are you using the latest release (older versions are NOT supported)? v0.14.57 Are you facing the bug with your local copy of GrapesJS or with the current demo? Both. Are you able to reproduce the bug from the demo? YES What is the expected behavior? Based on our exchange, script should not be a...
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.
Using latest versions of grapesjs (0.14.55) and grapesjs-preset-webpage (0.1.10), I have configured my editor as such: The library crashes with a "TypeError: values[0] is undefined" error, as referenced in this issue. If I add all the other properties in the array, such as: the error disappears, but I don't need all o...
artf
Ok, I think I found where is the issue, I'll fix it for the next release
SylvainBigonneau
Can confirm it's fixed on v0.14.57. Thanks @artf !
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, I found the following problem using grapes inside an html page: when you click on some elements of the editor, such as the arrow to move an element in the label manager, all the page shift up. The problem is also found in your JSFiddle Starter template https://jsfiddle.net/szLp8h4n.
artf
Ok, we use the scrollIntoView API to center elements in the canvas (when you select the component in Layers) and layers (on component select in canvas) but seems like this bubbles up to the main window. By looking at https://stackoverflow....
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.
If all devices specified for the DeviceManager have a width set, an editor breaking error occurs: "TypeError: contRules is null". I'm seeing this in my local project with v0.14.52. jsfiddle: https://jsfiddle.net/5ycmoftj/1/ I think what is happening is that CssRulesView.js render() is creating div fragments as contain...
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 Artf, I have worked a little time with your great Editor, and found this (and maybe one more, further testing required) bug. I found it in my local Version, but it appears in the Webpage-Demo as well. If you change style values on a composite style field (I tested it with padding and margin), the composite label...
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.
How to reproduce it:Goto https://grapesjs.com/demo.htmlDrag a form in Forms category into canvasType something => focus out => focus in => hit delete key Result: Input disappear Expect: Input shouldn't disappear when user delete text
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.
Version: v0.14.44 Steps to reproduce:Drag 'Link block'Drag 'Image' within previous 'Link block'Select 'Link block'Type in console: editor.getSelected().set('editable', false); editor.getSelected().set('editable', true);Double click imageClose image popup From this point it is impossible to resize, remove, copy or even...
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.
@artf There is bug in the border color if you drag a button on the editor and paste color like rgb(255, 0, 0) in border color and select any other element in side the editor without changing any property and reselet the button then border color become rgb(255, and if we changes in any property of border then css break...
loganvolkers
I can reproduce this on the demo website Copy and pasting can trigger this error, but it looks like it has nothing to do with copy and paste and everything to do with whitespace. Values that work:rgb(255,0,0)rgb(255,0,0) Values that don't...
artf
everything to do with whitespace Correct, it's just a poor parsing on composed types. We should split the value (eg. 1px solid rgba(255, 0, 0, 0)) by spaces (or even better propertyModel.get('separator'), which exists already) but taking c...
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.