#4242April 6, 2022by miladmeidanshahi1 answer
GrapesJS version [X] I confirm to use the latest version of GrapesJS What browser are you using? Chrome v100 Reproducible demo link https://jsfiddle.net/9rt1xm6p/ Describe the bug How to reproduce the bug? Add page in pageManager and set name. What is the expected behavior? editor.Pages.getAll()[0].name should return...
artf
Properties are not placed directly on the instances. You can use page.getName() to get the name property.
#4240April 5, 2022by varadero2 answers
GrapesJS version [X] I confirm to use the latest version of GrapesJS What browser are you using? Chrome 99 Reproducible demo link No link Describe the bug How to reproduce the bug?I was using grapesjs 0.18.2 in my typescript angular class imported like this - import as grapesjs from 'grapesjs';Upgraded to 0.18.4 What...
artf
Should be fixed here https://github.com/artf/grapesjs/pull/4216 I guess you should disable TS for the current version.
aharishsundhar
@artf im using grapesjs latest version ^0.18.4 i install npm grapesjs to run it its error on index.d.ts file can you please update issue npm install: manually change it local: manully update it my side can you please update the modules sid...
#4239April 5, 2022by codingaddictedNo answers
GrapesJS version [X] I confirm to use the latest version of GrapesJS What browser are you using? Chrome v100 Reproducible demo link https://grapesjs.com/demo.html Describe the bug How to reproduce the bug?Create a text blockApply a style to block (text color)Create a class and sync the value on itEdit again the color...
#4236April 4, 2022by m-jojo-sNo answers
GrapesJS version [X] I confirm to use the latest version of GrapesJS What browser are you using? Chrome Version 98.0.4758.80 (Official Build) (arm64) Reproducible demo link https://grapesjs.com/demo.html Describe the bug How to reproduce the bug?Add a "Tabs" blockCopy a tab from the added componentPaste the tab anywhe...
#4233April 2, 2022by clonefunnelsNo answers
GrapesJS version [X] I confirm to use the latest version of GrapesJS What browser are you using? Chrome Reproducible demo link https://jsfiddle.net/q7cxvpf5/1/ Describe the bug When I use this code it stops working after one div change and then no longer accepts any more style changes to any other divs: editor.on('sty...
#4225March 30, 2022by Sudhin353 answers
GrapesJS version[X] I confirm to use the latest version of GrapesJSWhat browser are you using? Chrome v9Reproducible demo link Not thereDescribe the bug How to reproduce the bug?Install the Grapes js in react app and run itMake the facebook plugin components and import it in grapes js ( get the facebook page listing c...
Sudhin35
@artf Please help me on this
artf
I see no issue when I run editor.setComponents(...FB HTML..) Please provide a reproducible demo.
Sudhin35
@artf Thanks for the reply but you have added editor.setComponents(...FB HTML..) by default and then loaded the editor Please create a component of FB HTML and Drag& drop the component in editor , it wont load This way i have tried
#4213March 25, 2022by confettidc1 answer
GrapesJS version [X] I confirm to use the latest version of GrapesJS What browser are you using? Firefox 98.0.2 (64 bit) Reproducible demo link https://grapesjs.com/demo.html Describe the bug How to reproduce the bug? Just go to demo site using Firefox What is the expected behavior? Normal sized rte buttons show appea...
artf
This was already fixed here https://github.com/artf/grapesjs/issues/4176 and will be available in the next release.
#4208March 22, 2022by ronaldohoch3 answers
GrapesJS version [X] I confirm to use the latest version of GrapesJS What browser are you using? Brave Last, tested on chrome last and Safari Last. Reproducible demo link https://grapesjs.com/demo.html Describe the bug How to reproduce the bug?I have a video: https://www.loom.com/share/508e91098bf247bd93d525f2efa00a36...
artf
Thanks for the report @ronaldohoch This will be fixed in the next release.
ronaldohoch
@artf worked! Thank you 😊
ronaldohoch
@artf I couldn't run it locally because several tests didn't pass, is it like that with you too? Can I try to fix them? e.g.:
#4196March 15, 2022by shelendravashishtha23 answers
GrapesJS version [X] I confirm to use the latest version of GrapesJS What browser are you using? Chrome Reproducible demo link no link Describe the bug How to reproduce the bug?... use a demo json that can generate some component on the canvas, set an id in attributes ... use editor.setComponents(json)... set style us...
artf
Hi @shelendravashishtha2 can you please indicate the exact steps (I need to know what is the json you're referring to)
JonathanRiche
I've seen this happen to if you don't save a reference to the CSS before using the editor.setComponents() method All of the CSS markeup from the elements id selector/reference is removed when using editor.setComponents() method The exact s...
JonathanRiche
I think I found the issue on my end using editor.getComponents().toJSON(); adds an empty "style":"" field to some of the components which is clearing out there CSS ie "components": [ { "type": "box", "style": "", "attributes": { "id": "ic7...
#4195March 15, 2022by varadero3 answers
GrapesJS version [X] I confirm to use the latest version of GrapesJS What browser are you using? Chrome 99 Reproducible demo link https://grapesjs.com/demo.html Describe the bug How to reproduce the bug?Open https://grapesjs.com/demo.html and delete all sample sectionsPlace one "Text section"Open a text editor and typ...
jmaks1
@artf The problem is relevant to the latest version. (v0.19.4) The bug occurs if you copy and paste a nested component while editing text. A regular paste (cmd + v) copies all html, including id, and after removing focus, html with identic...
varadero
I can confirm that this problem occurs only with Grapesjs 0.18.3 - I downgraded to 0.18.2 and the problem does not occur. Older versions are OK too.
jmaks1
I can confirm that this problem occurs only with Grapesjs 0.18.3 - I downgraded to 0.18.2 and the problem does not occur. Older versions are OK too. in version 0.18.2, nested components were not created inside the text.