GrapesJS Issues

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

1180 issues found

#1563November 6, 2018by tranthanhhoa3 answers
1 reactions

[Bug] Trait - Change Video Provider issue

Version: 0.14.40 Bug: When you change "Provider" field -> all settings gone. It happens in Chrome, Safari and Firefox, last versions. How to reproduce it:Goto https://grapesjs.com/demo.htmlDrag a video block in Basic category into canvasChange "Provider" field Expect: Result:

artf

Thanks for the report @tranthanhhoa I'll fix it in the next release

Chilli-B

Hello, sorry but this has not been fixed on version 0.14.41. The bug still exists.

artf

@Chilli-B the latest release is https://github.com/artf/grapesjs/releases/tag/v0.14.40

#1546October 29, 2018by jotakar1 answer
0 reactions

Bug: uploaded image appears as binary data,

I see that uploaded images appear in web page as binary (<img src="data:.....) not as image whith url (<img src="url"). is it posible to get that image uploaded appears as img src="./img/nameuploaded.jpg? Thanks

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.

#1535October 22, 2018by christopherserrao052 answers
0 reactions

[Bug]: After custom component is deleted the Trait's view does not clear out

Hi, I'm using the grapesjs library version 0.14.33. I've created some custom components and I've noticed that on deleting the components the Traits panel does not clear out. For instance when the canvas loads and no component is selected, the Traits panel does not display any traits. The traits are displayed only afte...

artf

Ok thanks for the report. I'll fix that in the next release

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.

#1528October 18, 2018by nine-2-five2 answers
0 reactions

[Bug] The custom block doesn't execute its script when autoloaded from localStorage

I'm using the following code for my custom block, and it works when the block is dropped on the canvas. But when the block is loaded from localStorage, it only creates a div wrapper and doesn't execute the content.script part of custom block.<br> I tried simplifying the script property to just alert or console call bu...

nine-2-five

False alarm, sorry. I checked the grapesjs-preset-webpage, and realized I was registering the block but no component. Once I added the component to editor.DomComponents, it started rendering the carousel even when loaded from localStorage.

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.

#1520October 16, 2018by krunal0393 answers
0 reactions

[Bug] On this.components() Error : Uncaught TypeError: Cannot read property 'each' of undefined

Get below error for this.components() not sure if it is bug or I am doing something wrong. Uncaught TypeError: Cannot read property 'each' of undefined at R.i.countChildren (grapes.min.js:formatted:16228) at R.i.template (grapes.min.js:formatted:16093) at R.i.render (grapes.min.js:formatted:16248) at R.i.addToCollecti...

krunal039

@artf can you please let me know what am I doing wrong here?

artf

@krunal039 follow the issue template please

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.

#1515October 15, 2018by thanhtunguet3 answers
0 reactions

[Bug] Destroy editor but does not delete the editor object.

Hello, I've created a wrapper Component of grapesjs for React. When the component is unmounted, it will destroy the editor by calling the destroy method. When my app render a new editor. (User goes back from 2 to 1, then go to 2 again, see my screenshot), the old destroyed editor seems to still exists. It affects to t...

artf

Do you mean the editor object from GrapesJS.editors? The one you remove manually with delete GrapesJS.editors[this.id];?

thanhtunguet

I tried to destroy the editor manually and by API (Editor.destroy) but they did not work. The editor seems not to be fully destroyed.

artf

Ok then, we have already an issue related to the destroy method #1501 If you need to add something do it there

#1513October 14, 2018by yomeshgupta3 answers
0 reactions

[Bug] Duplicate CSS written under media queries

Hey @artf Great work on the project! I noticed something and I am able to reproduce it on my local machine too. Any css written under media queries is being duplicated/applied twice. Grapesjs Version - 0.14.33 Browser - Version 69.0.3497.100 (Official Build) (64-bit) OS - Windows 10 Demo - https://grapesjs.com/demo.ht...

yomeshgupta

GrapeJs Editor Initialization Test Block Added Output @artf I am trying to add a custom block and providing HTML/CSS of the block via content attribute. When I drop the block onto the canvas then Media Query CSS is added twice to DOM Eleme...

yomeshgupta

Link to GrapeJS I am fetching - https://grapesjs.com/js/grapes.min.js?v0.14.33 In my debugging (might be wrong), in the file : ./src/css_composer/index.js When a rule is added The rule is matched against existing rules, if not present then...

artf

Thanks Yomesh, I'm investigating on this

#1502October 11, 2018by mudit-mittal3 answers
0 reactions

[Bug] Creating multiple child element after editing using RTE

Hi All, I am getting below issues which are related to RTERTE creating multiple child's as action performed on text block. Ex:- suppose we performed same action (Bold) three times in sequence on same text block then its creating three child's on the same element.Font action in RTE is only supporting font size values b...

mudit-mittal

Hi All, Please find step for reproducing this scenario 1) Initial state 2) Perform Bold Action then Italic Action then Underline Action 3) Again click on Bold Action then Italic Action then Underline Action Actual:- Getting three extra <sp...

mudit-mittal

Hi All, rte.add('fontSize', {icon: <select class="gjs-field"><option>1</option><option>4</option><option>7</option></select>,// Bind the 'result' on 'change' listenerevent: 'change',result: (rte, action) => rte.exec('fontSize', action.btn....

artf

This is just how execCommand works and the built-in RTE is based on it. If you need something more sophisticated you can try grapesjs-plugin-ckeditor or implement any other 3rd-party editor by following this guide: https://grapesjs.com/doc...

#1501October 11, 2018by mararn16182 answers
0 reactions

[Bug] Issue with editor.destroy() and reinitialization

With GrapesJS 0.14.33 editor.destroy() was introduced (https://github.com/artf/grapesjs/commit/52f8bdf2e894de536d44c1699c1e18bbaf52488f), so that it is possible to initialize, destroy and reinitialize an editor.Problem After initializing, destroying, re-initializing, I am however experiencing exceptions when editing t...

mararn1618

Hey @artf , are you planning to fix this in future releases? I belive this is relevant to many other issues people encounter, especially when using JS/SPA frameworks.

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.

#1495October 10, 2018by mudit-mittal3 answers
1 reactions

[Bug] Creating multiple child element after editing using RTE

Hi All, I am getting below issues which are related to RTE 1) RTE creating multiple child's as action performed on text block. Ex:- suppose we performed same action (Bold) three times in sequence on same text block then its creating three child's on the same element. 2) Font action in RTE is only supporting font size...

mararn1618

Hi mudit-mittal, this is somewhat fixed in 0.14.33 and the same as#761#1484

mudit-mittal

I am using latest version of library but issue is still here so kindly review.

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.