GrapesJS Issues

3,464 parsed GitHub issues 370 solved · 90 open. Search, filter and explore battle-tested answers.

1,399 issues found

🔍 outdated
#360Oct 1, 2017by aryeharmon3 answers
1 reactions

Open editor with specific el or class

is there some way to open the style editor for a specific tag or class without selecting the item grammatically ?

artf

Nope, but it's definitely something to add 👍

artf

This method was made to cover such a case: editor.StyleManager.setTarget

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.

#359Oct 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.

#358Oct 1, 2017by daniel-farina3 answers
3 reactions

Calling updateScript from the script section of a pluging

Hi guys, I've been stuck for a few hours trying to figure out how to call updateScript from the script section of a custom plugin. So far I was able to create my own plugin which I would like to share once it's stable. I need to refresh it once it connects to an external API and retrieves specific data. any help is ap...

daniel-farina

@artf Thank you for clarifying that. It makes perfect sense. What I ended up doing is: Making a function within my plugin's script that is called based on the user's interaction with a modal. so I can refresh it now when I detect the user...

artf

Amazing work @daniel-farina excited to see it done 😍

artf

Hi @daniel-farina this is something might confuse a lot of people, especially when you see the script as a function. Everything inside script is completely out of the scope of GrapesJS, there is nothing to access (model/view/methods) all t...

#357Sep 30, 2017by manjunaras3 answers
2 reactions

Customize editor by removing all pallets on right and top

First up all thanks @artf for your wonderful stuff on GrapesJS, We need to customize complete editor instead of integrating into our app and most important it should be developer friendly in following ways ,Reuse editor region for content creation or edition.Remove complete CSS and redesign as per our branding themesO...

arthuralmeidap

Hi @manjunaras , For css, GrapesJS provides some Sass variables that you can override and change some colors. Here you can check the available sass variables: https://github.com/artf/grapesjs/blob/dev/src/styles/scss/gjsvariables.scss Star...

artf

Thanks @arthuralmeidap for a good overview. @manjunaras I'd just add that buttons inside default panels (that you can actually hide) are executing built-in commands, so, for example, if you want to open the modal with HTML code just use ru...

arthuralmeidap

Hi @manjunaras , I'm not @artf but , as far I have been reading about GrapesJS, with it's API , everything you mentioned is possible. Take a look here: https://github.com/artf/grapesjs/wiki

#355Sep 30, 2017by arthuralmeidapNo answers
0 reactions

Custom plugins does not overrides default commands

@artf , Until versions 0.9.x , GrapesJS loads all it's internal's modules before all the plugins are initialized. Since from version 0.10.2 you added a new module initialization after the plugins initialization. You can see it here: https://github.com/artf/grapesjs/blob/v0.10.2/src/grapesjs/index.js#L73 This behaviour...

#354Sep 30, 2017by richardabearNo answers
0 reactions

Problem when building grapesjs

npm run build Test fails. From a fresh installation. I removed npm test and tried to run the webpack generated distributables on an apache server. Unfortunately the Ui is completely broken... Anyone run into this? p.s. im using Cloud9 IDE if that makes any difference.

#353Sep 30, 2017by matiponce91No answers
0 reactions

Problems when with grapesjs-present-newsletter plugin

Hi All, I am trying to use GrapesJs with grapesjs-present-newsletter plugin so I can show HTML with inside CSS. So I installed the plugin through npm and then imported the library inside index.html. Finally within "grapes.init ()" I added the following code: but "inlineCss" (it doesn't matter if its value is true or f...

#352Sep 29, 2017by martinrios95No answers
0 reactions

Uncompressed version

Hi! ¿Have you got an uncompressed version of this framework? As I could see, there's only the minified version on this repo, so I can see the code for development environment. Best wishes, Martin

Browse all topics