Version: 0.16.18 Are you able to reproduce the bug from the demo? [X ] Yes [ ] No What is the expected behavior? You should not be able to drag a component into itself Describe the bug detailed On firefox, you can drag a component into itself by directly clicking on the element and then drag it within itself. This get...
artf
Thanks for the report @FlowingCloudRTL. The issue will be fixed in the next release
Version: v.0.16.18 Are you able to reproduce the bug from the demo? [x] Yes [ ] No What is the expected behavior? It should render the playlist Describe the bug detailed Upon adding the playlist url using the embed code, it breaks and omit some parts of the url Ex: <iframe width="560" height="315" src="https://www.you...
Version: 0.16.18 Are you able to reproduce the bug from the demo? [x ] Yes https://jsfiddle.net/triawarman/tmcoqxhp/ What is the expected behavior? When drag "caption" block to canvas, will add element <caption>Insert text here</caption> What is the current behavior? Adding text "Insert text here" directly to the canv...
artf
Actually, HTML allows <caption> only inside <table>s (https://developer.mozilla.org/en-US/docs/Web/HTML/Element/caption) so, the parser will always convert it in a text node, indeed the real issue is not the caption but the render of the t...
ghost
hy @artf thanks for your reply. actually after <caption> problem, i found another problems with table, i cant drag and drop <tr> to the <table>, and <th> <td> to the <tr> the demo code is here: https://jsfiddle.net/triawarman/tpnco4v6/ i f...
Steps to reproduce:open newsletter demo at https://grapesjs.com/demo-newsletter-editor.htmlclean canvasplace "1/3 section"place "Image" in the middle columntry to resize image - works correctlymove selection to images's parent with click on upper arrow - resizing frame was moved to table cell which is incorrect. actio...
So when I drag a component/item from the bar to the center it will not go where I told it to go... IT always goes about 20% page width to one side? Once added it's adjustable. See this gif: https://gyazo.com/87076de55a1853e80b5dd7ea14ccb94e Does anyone have any suggestions?
RJCAM
Hi @tonypartridge Do you have the last GrapesJS version? This is working fine for me with the dragMode: "absolute", Check this basic code below:
artf
yeah... I can actually reproduce the same issue when a smaller device view is enabled, probably some kind of regression. I need time to investigate but at the moment I'm kind of busy with other stuff and dragMode is not my priority right n...
soltanloo
I have the same issue when I'm using the absolute drag mode. Blocks always fall out of the canvas and I need to scroll to grab them and place them back into the original desired position. @tonypartridge Did you figure out any way to fix th...
DescriptionThe bug is reproduced on the current demo What happens ? When switching selection quickly between controls , the editor get stucked . Steps to reproduce on the demo Select one controls and move quickly selection to another . Do this few times the editor will get stucked . The error on console
artf
Thanks for the report @meyerco probably found the main issue, should be fixed in the next release
DescriptionThe bug is reproduced on the current demo Expected behavior When a tooltip is removed its css is removed What happens instead ? When a tooltip is removed its css is not removed Steps to reproduce on the demo Clear the canvas Drag a tooltip Remove the tooltipClick on Import button on top toolbar , the toolti...
artf
Yeah, I think you're right, probably replacing with might fix the issue, would you like to check and create a PR? :)
meyerco
@artf Maybe this code to keep the code generic ?
artf
@meyerco π yeah sure, sorry, it was a copy-paste from my try
Hi, I'm having some issue with mobile first approach. The canvas render the wrong style when setting different styles at multiple breakpoints. But the code generated is good, this issue only happen in the canvas. https://codesandbox.io/s/xenodochial-shockley-s02lp?file=/index.js:496-524Are you using the latest release...
artf
We should apply the same logic from https://github.com/artf/grapesjs/blob/201e1f9a61783080f7be885e9e0be9a40ecc16cc/src/codemanager/model/CssGenerator.js#L151-L162 here https://github.com/artf/grapesjs/blob/201e1f9a61783080f7be885e9e0be9a40...
Hello, I've just updated to the lasted version 0.16.12 and have a bug when trying to move a component that has the property textable:1 into a text component. It works on the previous version 0.16.3. When i move the component I get an error in the console Uncaught TypeError: Cannot read property 'attributes' of undefin...
artf
I'm leaving here a working example of a textable component https://jsfiddle.net/artur_arseniev/0b9ox72g/
0099FF
Looks to have been introduced in 9c24108dadf2ded39e8805b6c4a5f00c626c468b. As pointed out by @antman3351 the model.getView().render(); call is the trouble maker. A little further down the call stack we attempt to update the view's attribut...
bogdanbs
My 2 ct to this. The problem lies on mixing asynchronous and synchronous code. The enabling of the rte: enable(view, rte) as well as the ComponentTextView.onActive and ComponentTextView.disableEditing are now, since the fix for issue #3475...