GrapesJS Issues

3,464 parsed GitHub issues โ€” 370 solved ยท 90 open. Search, filter and explore battle-tested answers.

569 issues found

๐Ÿ” canvas
#442October 21, 2017by roytang3 answers
0 reactions

Is it possible to include an external stylesheet in the grapesjs canvas?

We want to create some custom components whose style changes according to an external theme css (there can be different themes), and we want those styles to appear in the canvas while editing.

roytang

Please ignore. I ended up injecting the stylesheet link using javascript into Grapes' canvas' iframe // insert external stylesheet into the grapesjs window var iframes = Utilities_GetElementsByClass("gjs-frame", "IFRAME", document.body); f...

artf

You can inject scripts/styles via canvas config option

roytang

Thanks!

#409October 12, 2017by nhinq3 answers
0 reactions

Can't loaded in storageManager of 0.12

Im using type: 'remote', but it can't loaded to canvas

mekamleshk

@nhinq you can refer to my code Here I was able to upload and retrieve files.

artf

follow the issue posted by Kamlesh

nhinq

Ok Thank you - will try it

#398October 10, 2017by 2uncle-code2 answers
0 reactions

the scripts should put at bottom in canvasview for better loading speed,isn't it? :)

artf

Hi @vtista the purpose of this part is to load scripts before any other component as one of them might need them as a dependency. Basically, it's trying to simulate the <head> synchronous loading

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.

#359October 1, 2017by pheeque1 answer
0 reactions

Remote storage loading fails without any error information

When remote storage loading fails, it does so silently. One can only guess what the problem might be. I had to validate the JSON externally to know that the data my server was returning wasn't valid. I could also be missing something, so if there is method to load remote data onto the canvas besides the wiki instructi...

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.

#344September 27, 2017by telliott22No answers
0 reactions

Add component to specific point on the cavnas

I'm adding a new component to the canvas using editor.addComponents({ ... }); but it's always added as the last element, to the bottom of the canvas. Is there a way to insert it at a specific point on the canvas? All my components are rows, so ideally I'd like to insert components by index. Thanks, T

#340September 27, 2017by aryeharmonNo answers
0 reactions

css variables undefined value bug

I am trying to extend the editor to support css vars i added: to the page and i get in the browser: can you explain how the editor parses the css into the canvas? maybe i am missing something

#337September 26, 2017by vmouryaNo answers
0 reactions

IE 11 issue

Can not drop components on canvas in IE 11 but working fine in Firefox, Chrome. While clicking on blocks to drag getting error in console: Object doesn't support property or method 'matches' Also checked on http://grapesjs.com/demo.html getting same error. TIA

#327September 21, 2017by vmouryaNo answers
0 reactions

Drag element anywhere

Is there a method so that i can drop element anywhere in canvas. Currently it is sorting element,but i want to drop text element on image element. Thanks