GrapesJS Issues

3,464 parsed GitHub issues β€” 370 solved Β· 90 open. Search, filter and explore battle-tested answers.

231 issues found

πŸ” general
#4176Mar 4, 2022by varadero2 answers
0 reactions

Rich text editor very big icons in Firefox

GrapesJS version [X] I confirm to use the latest version of GrapesJS What browser are you using? Firefox 95.0.2 (64-bit) Reproducible demo link https://grapesjs.com/demo.html Describe the bug How to reproduce the bug?Use Firefox 95.0.2 (64-bit) to open https://grapesjs.com/demo.htmlDouble click on some text (like "Bui...

varadero

It looks like if I delete the <svg> elements which are part of the toolbar HTML, the vertical size becomes OK. These are the <svg> elements that cause the big height: This is how the rich text editor looks like when I delete them from HTML...

GJSBlock

Thanks for reporting this, @varadero. Great question about Rich text editor very big icons in Firefox. The recommended approach with ProseMirror is to use the event-driven API. Start here: Check the GrapesJS documentation for your specific...

#4148Feb 18, 2022by varadero3 answers
2 reactions

0.18.2 / 0.18.3 removes all on... HTML attributes when block is drag-dropped in the builder

GrapesJS version[X] I confirm to use the latest version of GrapesJSWhat browser are you using? Chrome v99Reproducible demo link https://jsfiddle.net/jLo3qh7s/10/Describe the bug How to reproduce the bug?Create a block with content <input oninput="alert('123)" />Put that block into the builderLook at the HTML code What...

Ju99ernaut

That is the expected behaviour as stated in the release notes for 0.18.2

artf

Correct. In case you need to enable unsafe attributes (at your own risk), you can do it via config.parser.optionsHtml.allowUnsafeAttr option.

GJSBlock

Thanks for reporting this, @varadero. Great question about 0.18.2 / 0.18.3 removes all on... HTML attributes when block is drag-dropped in the builder. The recommended approach with GrapesJS is to use the event-driven API. Start here: Chec...

#4094Jan 22, 2022by sridhar3914 answers
0 reactions

When drag and drop block into editor in Chrome, not able to drag and drop block

GrapesJS version [X] I confirm to use the latest version of GrapesJS What browser are you using? Version 97.0.4692.71 (Official Build) (64-bit) Reproducible demo link https://grapesjs.com/demo.html Describe the bug How to reproduce the bug?Drag and drop the basic blocks in the editor What is the expected behavior?Drag...

artf

I see no issues on my side (latest Chrome version).

sridhar391

@artf We are using the Ubuntu OS with the latest version of chrome browser, please give us an example on how to debug for the drag and drop functionality and please tell us if there is any callback function called while drag and drop block

Vac1911

I am also using ubuntu + chrome and getting the same issue on the demo, the examples in the docs and a locally installed version. Here is a the error message I am getting: Note: no matter which block I drop in the error is the same https:/...

#4039Dec 31, 2021by sridhar3912 answers
0 reactions

When drag and drop block into editor in Chrome, error thrown

GrapesJS version [X] I confirm to use the latest version of GrapesJS What browser are you using? Chromw 96.0.4664.45 Reproducible demo link https://thanhtunguet.github.io/grapesjs-react/?path=/story/grapesjsreact--primary Describe the bug How to reproduce the bug?Drag and drop the basic blocks in editor What is the ex...

artf

From your demo, I can see you're using the 0.16.45 version. Please open the bug issue only for the latest version.

GJSBlock

Thanks for reporting this, @sridhar391. Great question about When drag and drop block into editor in Chrome, error thrown. The recommended approach with GrapesJS is to use the event-driven API. Start here: Check the GrapesJS documentation...

#4037Dec 30, 2021by denisdal2 answers
0 reactions

When pasting plain text into text element in Chrome

GrapesJS version [X] I confirm to use the latest version of GrapesJS What browser are you using? Chrome 96.0.4664.110 Reproducible demo link I haven't a public one Describe the bug How to reproduce the bug?Use Chrome and Grapes newsletter Editordrag a "Text" element into the page and write something in it.In the same...

artf

The default exported template in HTML doesn't have any reference of the Text component so, there is no way to know from all the possible tags where the text component should be identified. This is why when you store and reload templates yo...

GJSBlock

Thanks for reporting this, @denisdal. Great question about When pasting plain text into text element in Chrome. The recommended approach with ProseMirror is to use the event-driven API. Start here: Check the GrapesJS documentation for your...

#4026Dec 22, 2021by johnkeel-thork1 answer
0 reactions

Incorrect Padding on .gjs-devices-c

GrapesJS version [X] I confirm to use the latest version of GrapesJS What browser are you using? Chrome 96 Reproducible demo link https://advhub.net/communities/admin/pageeditor2/ Describe the bug How to reproduce the bug?Look at the devices-c div padding <img width="223" alt="Screenshot 2021-12-22 at 10 05 35" src="h...

GJSBlock

Thanks for reporting this, @johnkeel-thork. Great question about Incorrect Padding on .gjs-devices-c. The recommended approach with GrapesJS is to use the event-driven API. Start here: Check the GrapesJS documentation for your specific mod...

#4006Dec 9, 2021by dev43224 answers
0 reactions

Background color automatically changes to black

GrapesJS version [X] I confirm to use the latest version of GrapesJS What browser are you using? Chrome Reproducible demo link https://grapesjs.com/demo.html. Describe the bug By default background color is none. When i click on color picker to change the background color and doesn't select any color from color picker...

artf

I'm not able to reproduce it, are you able to provide a screen recording of the issue?

dev4322

@artf https://www.loom.com/share/223f7badb9994988be49833452bf11fd

jloguercio

I have the same issue, if you click outside the colorpicker it turn in black

#3947Nov 16, 2021by confettidc4 answers
0 reactions

Selection box not clickable in editor

GrapesJS version[X] I confirm to use the latest version of GrapesJSWhat browser are you using? Firefox 94.0.1Reproducible demo link https://grapesjs.com/demo.htmlDescribe the bug How to reproduce the bug?Try drag a selection box into form in above demo site can reproduce the issue... What is the expected behavior? Sel...

artf

If you're talking about the Select component from the form plugin, in that case, options are displayed as traits.

confettidc

Yes, but selection box still not clickable even in preview? Thanks.

thomas-le-goff

Hello, This problem is due to this line (https://github.com/artf/grapesjs-plugin-forms/blob/master/src/components.js#L186). It could be interesting to enable the event only in case the editor is in preview mode? Then is it really useful to...

#3940Nov 13, 2021by dan-castillo2 answers
0 reactions

Issue with updating Button text

GrapesJS version[X] I confirm to use the latest version of GrapesJSWhat browser are you using? Chrome - Version 95.0.4638.69Reproducible demo link two places: https://grapesjs.com/demo.html and I have a repo here: https://github.com/dan-castillo/TestingGjsV1729.gitDescribe the bug How to reproduce the bug?Go to the fo...

artf

This is just the problem with the webpage preset which has the old reference to the form plugin, not related to the core.

GJSBlock

Thanks for reporting this, @dan-castillo. Great question about Issue with updating Button text. The recommended approach with GrapesJS is to use the event-driven API. Start here: Check the GrapesJS documentation for your specific module Lo...

#3902Oct 30, 2021by josh-fnbtech4 answers
4 reactions

Super expression must either be null or a function

GrapesJS version [X] I confirm to use the latest version of GrapesJS What browser are you using? Chrome v95 Reproducible demo link can't reproduce on those links Describe the bug trying to import grapesjs in an ember app. Code of Conduct [X] I agree to follow this project's Code of Conduct

artf

I published the new 0.17.29 version on npm. Please try it and let me know if it fixes the issue.

nik736

Setup my new MBP and this happens to me as well. +1

artf

@abozhinov are you talking about the 0.17.28 or 0.17.29?

Browse all topics