hackmdio / hackmdio/codimd

Undo image upload results in "Uploading file..."

Offen
#155 3 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
minor
Vorherrschende Sprache
JavaScript
Sterne
10.1k
Forks
1.1k
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

Adding an image to the document (either through drag-and-drop or through the imgur upload button) results in `![Uploading file..._random]()` being added to the document. After the upload is finished, this is replaced by the actual URL. Performing an undo action after successful upload shows the `![Uploading file..._random]()` text again. Ideally, this text should not be shown on undo.

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

Reproduce the issue by adding an image through drag-and-drop or the imgur upload button, then undo after the upload finishes. Trace the JavaScript handling for the upload placeholder and undo behavior; done means undo no longer restores the `![Uploading file..._random]()` text.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
javascript
Bereich
frontend
Issue-Typ
Bug
Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Aktivitätsstatus
Veraltet
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
45/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.