Skip to content

Add a button in the toolbar to reset the editor #629

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

corebreaker
Copy link

@corebreaker corebreaker commented Sep 1, 2020

Fixes the issue #323 .

It adds a button to reset the content of the editor. The session storage is also updated.

image

@shepmaster
Copy link
Member

Oh wow, I never responded to this, and for that I apologize!

I don't believe that this action is common enough to deserve space on the toolbar, which I attempt to keep minimal to avoid overwhelming people.

My vision for this functionality is two-fold:

  1. Place a "reset text" (and potentially "reset all settings") button in the configuration menu.
  2. Track when the user last visited and if it's long enough ago (exact amount TBD), pop up an offering to reset the text / settings.

@CleanCut
Copy link

Huh. I thought it was really weird that there wasn't a reset button right about there. I thought it was a UI bug or something, actually. I would expect there to be some easily-findable way to reset the state.

@RandyMcMillan
Copy link

please add this

@RandyMcMillan
Copy link

RandyMcMillan commented Mar 26, 2025

an ios safari plugin would be useful - open any gist into the playground

this would indirectly solve the issue and offload editing functionality to gist/github web ui.

@RandyMcMillan
Copy link

a simple solution is to add a link to an empty public gist

image

@RandyMcMillan
Copy link

there could be a button to templates - a drop down list of public gists that serve as a starting point.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants