jsfiddle / jsfiddle-users

Discussions, issues and docs for JSFiddle.
https://jsfiddle.net
314 stars 114 forks source link

Can't dismiss boilerplate buttons #1854

Open ryangriggs opened 6 months ago

ryangriggs commented 6 months ago

There is no way to dismiss the boilerplate buttons which appear over the Result/Console area. And if you have already started writing a fiddle, clicking one of these buttons clears it. Please add some kind of dismiss button to this boilerplate container, or have it fade out automatically if the user begins typing in the code boxes.

oskarkrawczyk commented 6 months ago

I'll probably get to it after I finish JSFiddle 3.0 – for now it's not a big deal for them to stay until a fiddle is saved.

ryangriggs commented 6 months ago

All that's needed is to add another button to the boilerplates section which removes that section from the DOM on click. Is this something I can submit to help you out?

oskarkrawczyk commented 6 months ago

All that's needed is a dismissal, store the state for anon and logged in users in different places, read state while rendered and re-rendered on various editor changes. I'll do it, just not right now.