Skip to content
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

Clear diagram, or plain text editor #1403

Open
Zorakie opened this issue Feb 15, 2024 · 1 comment
Open

Clear diagram, or plain text editor #1403

Zorakie opened this issue Feb 15, 2024 · 1 comment
Labels
enhancement New feature or request Stale

Comments

@Zorakie
Copy link

Zorakie commented Feb 15, 2024

So I am used to work on the go, = from a phone. I am using Opera with desktop site setting.

Problem: Mermaid automatically loads previous diagram from local storage, and there seems to be no option to disable that.
There is no button to Clear diagram and start from scratch.

Why it is important? The code editor is not a native element, so whenever you try to focus cursor somewhere, the zoom freaks out. Selecting all by long tap also does not work... abd the zoom freaks out.

So the workflow looks like this:
You let e.g. AI to generate the diagram.
You open Mermaid.
You fight with the editor for like 10 minutes trying to delete everything to paste your new diagram.
You give up.

There is no console command to select all and delete as well.
Mobile view (to fight the zoom) is broken as mermaid seems not to be optimized for mobiles at all

The request is as follows:
Either:

  1. start always with a clear canvas, do not automatically load previous session data
    or
    2)Add a Clear all button
    or
  2. Allow us to switch to plain textarea element

Thank you!

@Zorakie Zorakie added the enhancement New feature or request label Feb 15, 2024
Copy link

This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 30 days

@github-actions github-actions bot added the Stale label May 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Stale
Projects
None yet
Development

No branches or pull requests

1 participant