Closed Ameeko closed 2 years ago
This seems to be a GrapesJS bug/oddity and you should create a bug report here: https://github.com/artf/grapesjs
Updated to GrapesJS 0.18.3 which seems to fix the issue.
Works perfectly after the update. Thank you very much!
Hello! I found two more errors related to this.
As the original problem was a bug in GrapesJS, it's very likely that again behavior is also a bug in GrapesJS.
Guess that you are using Windows which uses \r\n
as line endings instead of \n
and this could screw up GrapesJS.
OK. I also reported the bug to them https://github.com/artf/grapesjs/issues/4173
Hello! The paragraph element does not work properly in the GrapeJS editor.
1) I made a blank page and put a paragraph element in it![image](https://user-images.githubusercontent.com/61547701/154523280-5b9c09bc-858f-4f00-8552-a6e1733afdab.png)
2) I pressed the save button![image](https://user-images.githubusercontent.com/61547701/154523392-4d2a862f-291a-46c4-95f9-1ed3ba0da8a0.png)
3) I entered the following text: test [enter] test [enter] test [enter] I clicked outside I see 1 paragraph element![image](https://user-images.githubusercontent.com/61547701/154523608-8afb9129-875f-44be-a616-8cf54ede02d5.png)
4) I pressed the save button I see these elements:
It works fine if I skip step 2:
1) I made a blank page and put a paragraph element in it
3) I entered the following text: test [enter] test [enter] test [enter] I clicked outside I see 4 paragraphs, that's okay:
![image](https://user-images.githubusercontent.com/61547701/154522366-ba7946c4-7fc6-4c7e-b8b1-a675a92b8c27.png)
4) I pressed the save button, everything is fine I see 4 paragraphs:![image](https://user-images.githubusercontent.com/61547701/154522570-b6c1fdaf-075a-4fae-ac42-e8f3c219d36c.png)