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.
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...
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
@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...
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.
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...
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
I have a use case where I would like to allow users to switch the template they are editing. On the initial load, the code seems to work fine and loads the template as expected, but on the subsequent loads the canvas is wiped blank.