GrapesJS Issues

Search parsed GitHub issues, see highlighted answers, and open the original discussion when needed.

1180 issues found

#2035May 24, 2019by MetalPinguinIncNo answers
0 reactions

[BUG] (Un)selecting a class in the StyleManager throws a TypeError

Hello, I am running into an issue when selecting or unselecting a class on an element in the StyleManager through the UI. This happens on both my own project and the newletter demo from the GrapesJS page. It happens on version 0.14.61 which should be the current version. Reproduction:Open the newletter demo from the G...

#2029May 23, 2019by arachnosoft3 answers
3 reactions

[Question/Bug] grapesjs throws a DOMException if you import HTML contents with invalid (numbered) attributes

Hi @artf , We got a report that when you import some HTML code with incorrect attributes, such as <td class="cell" 01234="0" >Hello world! </td> grapes.js throws the following Uncaught DOMException: Failed to execute 'setAttribute' on 'Element': '01234' is not a valid attribute name. at HTMLTableCellElement.<anonymous...

arachnosoft

Just to keep you informed, I applied the try/catch fix suggested by @ankx06 and @artf to our code, but in a generic way. I wanted to ensure that the exception would be catched in all cases when setComponents() is being called. Either from...

ankx06

@jmchaves this is not called from any event. This is the function to update component's inner components/html.

ankx06

I have also faced this issue while setting an invalid attribute/style for image height/width. Currently, I have handled using a try-catch block If the newContent has multiple components and only one component have the error, due to excepti...

#2025May 21, 2019by MisterFK3 answers
1 reactions

[BUG] Link isn't editable on EDGE

Hi, The link component isn't editable on EDGE. I try on the grapesjs demo and there is the same issue. Do you know how to resolve this problem please? Thanks!

zgover

You still use/support IE? 🤔 Let it DIE ALREADY...

kkifa

I'm seeing the same behavior in latest version of Edge. After dragging the 'Link' or 'Button' block onto canvas I can select the label text by double-clicking, and I can insert an 'I' beam by single-clicking inside the selection, but inser...

artf

Closing this as doesn't seem to be an issue anymore

#2021May 17, 2019by acamenhas3 answers
0 reactions

Copy-Paste duplication // CKEDITOR

Hi all, I've integrated CKEDITOR as RTE on grapesjs. But now, when i made a copy and paste the content shows duplicated. Anyone had this bug before? Thanks

acamenhas

Sorry wrong repo

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.

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.

#2019May 17, 2019by fillipi12 answers
0 reactions

Remote storage returns 204 NO CONTENT

WARNING READ and FOLLOW next 5 steps, then REMOVE them before posting the issueFollow CONTRIBUTING Guidelines https://github.com/artf/grapesjs/blob/master/CONTRIBUTING.mdUse the GitHub Issues EXCLUSIVELY for BUGS, FEATURE REQUESTS or QUESTIONS. Prefix the title of the issue with its context, eg. [Bug]: ....Do a quick...

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.

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.

#2018May 15, 2019by nternouski3 answers
2 reactions

BUG When import as module Angular 6

in Version: "grapesjs": "^0.14.61", "grapesjs-preset-newsletter": "^0.2.20", i import the script as: and the context is the code: And only on build, the console print: Please Help me. Thanks for your time.

joshberry

@nternouski I'm guessing you needed to include the gjs-preset-newsletter script in the scripts section of your build in angular.json. Any plugins you want to use need to be included here or the angular build won't know to include them.

joshberry

If you don't add it globally, you'll need to manually register the plugin with grapesjs. Then, be sure to use the ID you configured and not the variable name when initializing.

artf

Hi @nternouski, unfortunately, that plugin still uses the old exporting, so you have to use it like this:

#2014May 13, 2019by alimajed933 answers
1 reactions

[BUG] - Not able to get content of a link block

Hello all, I am using grapesjs version 0.14.52. I am having the following issue: When I drop a link block inside the canvas, I can use the following linkModel.get("content"), to get the content of the link. But once I set a new content, using linkModel.set("content", "whatever"), linkModel.get("content") starts return...

prosenjit-manna

Duplicate #2013

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.

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.

#2013May 13, 2019by alimajed933 answers
0 reactions

[BUG] - Not able to get content of a link block

Hello all, I am using grapesjs version 0.14.52. I am having the following issue: When I drop a link block inside the canvas, I can use the following linkModel.get("content"), to get the content of the link. But once I set a new content, using linkModel.set("content", "whatever"), linkModel.get("content") starts return...

artf

Unfortunately, this is due to the not consistent logic in the ComponentTextView https://github.com/artf/grapesjs/blob/3f053af969ef6a688d526d158b9df7e6aa076838/src/dom_components/view/ComponentTextView.js#L87-L114 So, if you use the built-i...

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.

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.

#2010May 11, 2019by simplecommerce1 answer
1 reactions

[BUG] Droppable query selector [data-gjs-type="my-component-type"] no longer working

Hi, since the latest version, I noticed that when I use the droppable query selector using [data-gjs-type="my-component-type"] no longer seems to work. I have added two codesandbox demos to show you the issue. I am not able to figure out what changed. Hope it helps, thanks!You're submitting a BUGAre you using the late...

artf

Ok seems like the regression was introduced by this change: https://github.com/artf/grapesjs/commit/702ba828b13bae4b64bfd7bc79f23d8909d757f4#diff-6aa74cf54855daa6ca63a5d1e8b77c44R358 I'll fix it in the next release. Thanks for the report

#1996May 2, 2019by prosenjit-manna3 answers
0 reactions

Mobile first: Media query ordering issue

Are you using the latest release (older versions are NOT supported)?0.14.61Are you facing the bug with your local copy of GrapesJS or with the current demo?I am facing the issue with both local and 'https://unpkg.com/grapesjs' The issue is mobile first media query ordering issue. With the current version media query o...

prosenjit-manna

See the changes here https://github.com/itobuztech/grapesjs/commit/3aa3b2dc7611d23e51eac524404df5b1a5814c74

artf

Seems legit. I'll add it in the next release

Palash-Mandal

Hello @artf @prosenjit-manna , Can you please help me that the feature is requested by @prosenjit-manna is implemented in the latest /! grapesjs - 0.19.4 / version ??? I have faced issues while mobile first approach CSS ordering is randomi...