GrapesJS / grapesjs

Free and Open source Web Builder Framework. Next generation tool for building templates without coding
https://grapesjs.com
BSD 3-Clause "New" or "Revised" License
22.38k stars 4.06k forks source link

Unwanted css after refreshing page #965

Closed mandarinobellino closed 6 years ago

mandarinobellino commented 6 years ago

After integrating grapes to my platform a problem comes when, after refreshing the page, I click inside an elements : this one gets the style border: 3px solid rgb(0, 0, 0); This issue goes on with every type of element I've insert in the canvas and it shows only on the first element I click after refreshing the page.

There is a specific way to interact with the update element style event?

Here's a screencast of the problem -> https://screencast-o-matic.com/u/ja1e/problem

artf commented 6 years ago

@mandarinobellino I can't reproduce it by using the official demo (uses the latest version). Do you use the latest version? Are you able to reproduce a live demo?

francesca-cicileo commented 6 years ago

I'm having the same issue, when using the grapesjs-preset-webpage plugin. Is there a CDN for that plugin so that I can create a demo on jsfiddle for you?

artf commented 6 years ago

@francesca-cicileo you can use this one https://unpkg.com/grapesjs-preset-webpage

francesca-cicileo commented 6 years ago

Hi @artf, I've reproduced the problem in a jsfiddle here

All I did was copy and paste the index.html file from the grapesjs-preset-webpage repo here. If you run the jsfiddle and then click on any element inside the pink box, that element will get a 3px white border around it.

artf commented 6 years ago

Should be fixed with this one https://github.com/artf/grapesjs-preset-webpage/releases/tag/v0.1.10

lock[bot] commented 5 years ago

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.