grapesjs icon indicating copy to clipboard operation
grapesjs copied to clipboard

Unwanted css after refreshing page

Open mandarinobellino opened this issue 8 years ago • 6 comments

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

mandarinobellino avatar Mar 20 '18 16:03 mandarinobellino

@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?

artf avatar Mar 24 '18 13:03 artf

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?

francesca-cicileo avatar Mar 29 '18 20:03 francesca-cicileo

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

artf avatar Apr 01 '18 10:04 artf

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.

francesca-cicileo avatar Apr 04 '18 02:04 francesca-cicileo

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

artf avatar Apr 15 '18 12:04 artf

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.

lock[bot] avatar Sep 17 '19 18:09 lock[bot]