GrapesJS Issues

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

1180 issues found

#2214August 23, 2019by Firefox20051 answer
0 reactions

[BUG] SVG Element is not a real SVGElement

Behavior I use an external Javascript code that replaces some SVG elements dynamically based on their attributes. The Javascript code first checks for the type of the element to validate, that it is an SVGElement like this: document.querySelector('#someId') instanceof SVGElement The code returns True in Firefox but Fa...

artf

The code returns True in Firefox but False in Safari and Chrome although I can verify in the Chrome Properties tab, that it is indeed of type SVGElement. Weird, seems like a Chromium issue...

#2207August 20, 2019by niisar3 answers
0 reactions

[BUG]: Can't drag component if there is some space on top/left with Mode Absolute

Given the following code example... Results in no ability to drag and drop elements to correct position using drag icon on the panel. See Fiddle for demonstration... https://jsfiddle.net/niisar/zc51gtnv/

pouyamiralayi

this is only for the drag icon, right? the manual dragging is fine. using the drag icon, it resets the position of the element from the top as it seems.

niisar

this is only for the drag icon, right? the manual dragging is fine.using the drag icon, it resets the position of the element from the top as it seems. Yes this is only for drag icon.

artf

Yeah the problem here is the different Event object based on the context. When you trigger the drag on the component itself the Event is in the context of the iframe (because the clicked element is in iframe) but component's buttons are ou...

#2196August 15, 2019by devgru3 answers
3 reactions

[Bug] Link element selection shows no toolbar

Steps to reproduce: add Text, select a word, click on Link icon in RTE panel, select a Link. Expected behaviour: when I select Link I expect it to display toolbar (with 'select parent' button) alongside its badge. Actual behaviour: If a link was in startup HTML, Link is properly initialised and selecting it results in...

simplecommerce

@Abhisheknanda1344463 Hi @artf @simplecommerce @devgru Any update on this. Is there any way to fix this manually? Thanks I am not sure if it will work for you but this is what I did to work around it.

Abhisheknanda1344463

@simplecommerce Thank you Man. It's worked. Thanks

artf

Closing the issue as it seems to be fixed.

#2174July 30, 2019by pouyamiralayiNo answers
0 reactions

stopCommand('preview')

Hello there! i am not aware how to send PR please fix this bug here on link on line 31: helper.onclick = () => editor.stopCommand('preview'); must be: helper.onclick = () => editor.stopCommand('core:preview'); i was facing problem with the original one. tnx in advance.

#2171July 28, 2019by talya-akshotaNo answers
0 reactions

how and if possible to create chart block in grapesjs?

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...

#2160July 23, 2019by martysweetNo answers
0 reactions

Absolute mode: editor is not defined

Hi, Great project, thanks! In relation to issue #1936 there is a bug on the following line which causes exceptions when attempting to drag an absolute component when the variable editor is not defined in the window scope, for example, if you have instantiated the editor inside a React class, or not used the name edito...

#2147July 17, 2019by jmchaves1 answer
0 reactions

[BUG] double dash issue

1) Type double dash ( -- ) in the text component. 2) Click export MJML. See the error from the demo site:

artf

wrong repo

#2142July 16, 2019by khbhr3 answers
0 reactions

Drag component with its parent

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...

khbhr

Hi artf, I would like to start by thanking you for the great work you've done. Second, I would like to know if there is a possible way to move a component with its parent(s) when dragging it from a cell to another? The reason why I am aski...

artf

Well if you need to move the entire parent it doesn't make sense to let the user moving that component, so just make it draggable: false <table> <tbody> <tr> <td> <a data-gjs-type="link" data-gjs-draggable="false" href="https://google.com/...

Deus-X

I need to revisit this old topic. I now have the same requirement. Which in my opinion is valid. @artf If I set the component to draggable: false, I simply cannot move the component, which is not a solution. The user then does not know tha...

#2140July 16, 2019by khbhrNo answers
0 reactions

Drag component with its parent

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...

#2138July 15, 2019by alikabeer323 answers
1 reactions

[BUG] Gradient plugin is interfering with background-image

The background-image url is getting wrapper around by linear-gradient() function like so Even though I assigned gradient to 'background' property instead of 'background-image' I can't reproduce the bug in the demo of either grapesjs or the plugin because in neither of them have the two features (background image and g...

artf

Can someone check if the latest release fixes the issue, please?

alikabeer32

UPDATE: I know it's a very hacky fix but what I did is replace every 'backgroundImage' with just 'background' in the grapesjs-style-gradient.min.js file of the plugin. And now it works like I need it to. Perhaps someone could provide a bet...

robsonsobral

Wow! I'm not the only one going crazy! @artf , do you have any suggestion? Where should a pull request be submited?