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.

#3082October 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...

#3075October 16, 2020by hellocaio๐Ÿ’ฌ 3 answers0

BUG: 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...

#3059October 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...

#3058October 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

#2908July 21, 2020by neon12345๐Ÿ’ฌ 3 answers0

FEAT: 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...

#2906July 21, 2020by neon12345๐Ÿ’ฌ 3 answers0

BUG: 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...

#2843June 19, 2020by abozhinov๐Ÿ’ฌ 3 answers0

[BUG] 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

[BUG] 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...

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