GrapesJS Issues

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

3464 issues found

#1617November 29, 2018by coder-strange2 answers
3 reactions

[Question] How can I stop the drop from block:drag:start event? Also is there any event to listen Invalid target position?

First of all, I really appreciate your replies on my questions. Thank you for all. Question 1 : I've a situation where if a particular block is already in the canvas, I can't let that block to be added again. What I'm doing is, I'm listing to block:drag:start and compares if the component is already dropped (in gjs-co...

artf

Question 1 : I've a situation where if a particular block is already in the canvas, I can't let that block to be added again. What I'm doing is, I'm listing to block:drag:start and compares if the component is already dropped (in gjs-compo...

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.

#1616November 29, 2018by JordanTGVG2 answers
0 reactions

grapesjs editor.gethtml() not work in Edge Explorer

In my project i'm using this code to get the html from the grapesjs editor: var html = window.frames[0].editor.getHtml(); my editor is in iframe and is displayed in another page, and it works good in chrome and mozzila but in edge i cannot get the html code because i can see this javascript error: Unable to get proper...

artf

This has nothing to do with GrapesJS itself, please investigate why in Edge you can find window.frames[0].editor

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.

#1615November 28, 2018by jmtt892 answers
0 reactions

[Feature] support edit credentials request attribute on Remote Storage

The credentials options its forced to be 'include' on Remote Storage. https://github.com/artf/grapesjs/blob/master/src/storage_manager/model/RemoteStorage.js `

arthuralmeidap

Created MR #1705

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.

#1614November 28, 2018by gcoda3 answers
0 reactions

[Bug]: adding css variables as style manager property

trying to add css variable to style manager causing error: Uncaught TypeError: Cannot read property 'toUpperCase' of undefined fiddle Am i doing something wrong? Fixed by changing utils/mixins.js#L76 to

artf

Hi @gcoda you should use property for the CSS property name (eg. color)

gcoda

Yes, it works with regular properties like color, is there another way to edit css custom properties on components?

artf

is there another way to edit css custom properties on components? Well, not currently, the style manager was made to edit style properties and not CSS custom one, but they have a lot in common

#1613November 28, 2018by ProfSaputo1 answer
0 reactions

[Bug] Style Properties of Composite Styles are not cleared right

Hello Artf, I have worked a little time with your great Editor, and found this (and maybe one more, further testing required) bug. I found it in my local Version, but it appears in the Webpage-Demo as well. If you change style values on a composite style field (I tested it with padding and margin), the composite label...

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.

#1612November 27, 2018by Brandonwaichunyu1 answer
0 reactions

Grapesjs, is there a code for View code????

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.

#1611November 27, 2018by ThomasLaigneau3 answers
0 reactions

Script tag create JSON error

Hi. I'm creating blocks in Grapesjs and I need to use JS on them for hover effect and more.. Everything works fine for the creation, store, load and the style of each blocks. I have a problem when I add the <script></script> tag to my block. It works fine when I drag the block for the first time but when I store and r...

artf

https://stackoverflow.com/questions/28259389/how-to-put-script-in-a-javascript-string

ThomasLaigneau

Sorry, I tried to follow the tips in the stackoverflow post but nothing works.. still got that error even if I escaped the / from the </script> tag

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.

#1609November 26, 2018by Brandonwaichunyu2 answers
0 reactions

Grapesjs, How to extract html/css code in view code into console log?

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

Brandonwaichunyu

View code doesnt appear on my javascript

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.

#1608November 26, 2018by narendravaghela3 answers
0 reactions

[Question] Customize CSS class name

GrapesJs editor creates a unique class for element and adds CSS rules to it. For example, Now, is there any way to customize this behaviour? I want it to be .parent-namespace .c1731 instead of just .c1731? Is there any solution to do so? Thanks

narendravaghela

I found this related issue - https://github.com/artf/grapesjs/issues/391

artf

If you need to update CSS rules you should rely on CSS Composer module

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.

#1607November 26, 2018by amiparayash2 answers
0 reactions

Load 2 canvas

Is there any way to load 2 page canvas with single sidebar drag and drop functionality.?

artf

No

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.