GrapesJS Issues

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

1180 issues found

#3435May 6, 2021by anlumoNo answers
0 reactions

BUG: Scrollable onStart/onEnd/updateTarget not Overridable

Version: 0.17.3 Are you able to reproduce the bug from the demo?[ ] Yes[X] No What is the expected behavior? Being able to override onStart, onEnd, and updateTarget in a component's model.default.scrollable, as detailed in the documentation. Describe the bug detailed I have created a component that extends ComponentIm...

#3434May 5, 2021by advancedsoftwarecanada3 answers
1 reactions

BUG: Using imported HTML/CSS/JS into the editor shows outlines, but no content, JS Fiddle inside

You can get the version by typing grapesjs.version into the console YES: https://jsfiddle.net/75a9u1cf/2/ What is the expected behavior? I am expecting to be able to edit the HTML and content in the editor Describe the bug detailed The screen is simply white, I can see the shapes and drag elements, but the editor is j...

advancedsoftwarecanada

This issue can be resolved. I simply switched out the HTML/JS application to flat HTML -- disabled all the stupid loading effects. I'll just have an external script when not in editor do fancy stuff. ALL HAIL GRAPEJS.

advancedsoftwarecanada

advancedsoftwarecanada

HALF SOLVED IT, found some stuff on Google: https://jsfiddle.net/75a9u1cf/3/ But some images still don't work.

#3432May 5, 2021by SintoDema1 answer
0 reactions

BUG:

Hi @artf, Can we able to use Wistia in GrapesJS editor. I would like to use it as Vimeo used in the editor. Scenario: I have a video in my Wistia domain, let the path be https://mydomain.wistia.com/medias/VIDEO_ID. I have to add that URL or video as we are adding a Youtube video link with Video ID in editor > video se...

artf

Sure, just check the current implementation of the ComponentVideo and extend it for your needs.

#3429May 4, 2021by justin37371 answer
2 reactions

BUG: there is no display grapesjs-style-bg plugin

hi @artf thank you for doing everythings here but I try to use this plugin but I can't Version: 0.17.3 Are you able to reproduce the bug from the demo?[x] Yes[ ] No Describe the bug detailed there in no display plugin What is the current behavior? Nothing happens. Are you able to attach screenshots, screencasts or a l...

Ju99ernaut

Unfortunately the plugin will not automatically replace the original background image input so you'll have to do it manually. You'll need to add this to your style manager config somehow and remove the built in version: For more reference...

#3425April 30, 2021by anlumo1 answer
1 reactions

BUG: staticRules for CssComposer Non-Functional

The sample config file for the CssComposer references a staticRules property. This property name is not used anywhere else in the source code (verified using GitHub search) and also doesn't do anything. Version: 0.17.3 Are you able to reproduce the bug from the demo?[ ] Yes[X] No (not really applicable) What is the ex...

artf

Thanks @anlumo you're right, that was an old option, I'll remove it. For the purpose of static CSS rules, we have these options

#3423April 29, 2021by zgeist1 answer
1 reactions

BUG: RTE generate tag span after remove `bold`, `italic` etc

Place text block Edit text, apply bold or italic Deselect text block Select again and remove bold Open source code, you should see span tags

Ju99ernaut

Looks like an issue with the underlying browser API ie. Document.execCommand() so I'm not sure this can be solved, says here it has been deprecated but there's really no alternative, anyways the removeFormat command seems to work without l...

#3419April 27, 2021by emyasnikov1 answer
0 reactions

FEAT: Event to hook into after editor.render has been executed

What are you trying to add to GrapesJS? As described in BUG: Panels "visible" attribute doesn't prevent panel rendering I tried to prevent panel rendering on initial start. Since visible attribute didn't work for me I tried some workarounds until I noticed all my changes are gone after render has been called. So best...

artf

Thanks @emyasnikov I'll close this and will keep the bug issue open

#3418April 27, 2021by emyasnikov1 answer
0 reactions

BUG: Panels "visible" attribute doesn't prevent panel rendering

Version: v0.17.3 Are you able to reproduce the bug from the demo?[ ] Yes[x] No What is the expected behavior? editor.Panels.addPanel({id: 'test', visible: false}) renders panel despite of visible attribute set to false. It perfectly works after editor has been rendered, so panel.set('visibility', !panel.get('visibilit...

artf

Yeah, I think it's just a matter of adding this.toggleVisible() in PanelView.render. If you want to push a PR, I'd be glad to merge it :)

#3416April 27, 2021by ghost1 answer
0 reactions

BUG: 0.15.10 - setAttribute - is not a valid attribute name

Hello! I know this is a bug reported here #2029 but now I can not update from 0.15.10 to the version that has the solution. Would you know any workaround for this issue at the moment that I am setting the component? I am using VueJS with GrapesJS. Here is how I am trying to set the component. this.grapeEditor.setCompo...

artf

No sorry, can't help with such an old version. Why you can't update??

#3412April 25, 2021by maxtsh1 answer
2 reactions

BUG: Auto save is working partially and stops working after inserting text

hello guys. I am using this awesome project for a production app written with React.js, So I integrated it inside my app. everything works fine but I have a problem with auto saving the editor data on each change to editor. OS: Windows 10 Browser: Chrome 90 GrapesJS version: 0.17.03 latest on 26/04/2021 EDITOR INSTANC...

artf

Thanks @maxtsh for the report, there is actually an issue with those old blocks from the basic plugin which breaks the storage counter. I'll push the fix soon. For now, as a hotfix, update those blocks in this way.