Label

More-information-needed issues in GrapesJS

75 questions in the GrapesJS community archive, 5 community-vetted. Sorted by most discussed β€” see real fixes, errors and code references.

#3082Oct 20, 2020by rukavinaβœ“ Solved Β· 36

XSS Vulnerability in Live Preview

Version: 0.16.22 Are you able to reproduce the bug from the demo? [ x] Yes Steps:Click Import HTMLInsert <img src="anyimagesource.gif" onload="alert(1)"/>The JS will be executed Having proper "sandbox" attribute on iframe could probably mi...

#3075Oct 16, 2020by hellocaioπŸ’¬ 3 answers0

Unhandled Rejection (TypeError): i.classList is undefined

Hi. I updated GrapesJS to its current version 0.16.22 and I get an error on the callback function: editor.on("component:add", (model) => { editor.select(model); }); The error stack: Unhandled Rejection (TypeError): i.classList is undefined...

#3059Oct 1, 2020by lebonsavaneπŸ’¬ 3 answers0

Header goes on a textbox

Hello, so first thanks to have create GrapesJs this very usefull. I have an issue i add an header on my page and that's the code i add for the header: <header style="padding: 100px 0px;position: absolute;top:0; width:100%"></header> The pr...

#3058Oct 1, 2020by dharmatvπŸ’¬ 3 answers0

How to modify existing block properties in style manager

Version: 0.15.9 How to modify/remove few CSS properties for existing blocks like(text, image) in style manager I have checked the following link also https://github.com/artf/grapesjs/issues/1428 Could u please provide a solution

#2908Jul 21, 2020by neon12345πŸ’¬ 3 answers0

Combine getDirtyCount with undo/redo

Currently the changesCount is only increased regardless of undo and redo. I wonder if there is an application where the actual value is used or if this is just a boolean indicator for changes. If it is just used as boolean, it would be pos...

#2906Jul 21, 2020by neon12345πŸ’¬ 3 answers0

Editor.refresh() not working in custom setup

I have a problem with a custom setup where the canvas iframe is moved around with js. The "editor.refresh()" call does not fix the positioning of the tools after the move. I think the problem is due to the offset cache not cleared on refre...

#2843Jun 19, 2020by abozhinovπŸ’¬ 3 answers0

Can't remove style property on selected device

Hi, have a problem with removing style property on selected device (clearProperties: true). You can reproduce the problem on https://grapesjs.com/demo.html. Steps:Clean everything.Drag custom code.Add this sample code.Switch devices to tab...

#2790May 19, 2020by motazadβœ“ Solved Β· 33

Devices not working in Version 0.16.12

@artf When I click on the devices(tablet, mobile), the size of the canvas is not updated But it Worked in Version 0.15.x and lower.

#2784May 17, 2020by joshbedoπŸ’¬ 3 answers1

Are media queries broke?

I'm just trying the demo on my phone https://grapesjs.com/demo.html render of HTML/CSS https://us-central1-connectionhelper-6e7ed.cloudfunctions.net/app/api/pages and noticed that it still looks like the desktop version. When i'm in the ed...

#2700Apr 3, 2020by noogenπŸ’¬ 3 answers0

Hover editor result in TypeError: this[0].getAttribute is not a function

Are you using the latest release (older versions are NOT supported)? Yes, using latest v0.16.3 version. What happen? Upgraded from WORKING v0.15.3 to v0.16.3. Also, went back and verify that this is WORKING in v0.15.10 Demo to reproduce th...

View all 75 More-information-needed issues β†’