tiny-markdown-editor
tiny-markdown-editor copied to clipboard
Undo/redo events not being handled
Undo/redo input events are not handled whenever text is inserted, a character is deleted, text is pasted, etc. They are however handled whenever multiple lines of text are deleted at once, which is confusing because it doesn't look like the editor has a function to handle these kinds of input events.
yeah, undo/redo events are definitely not handled deliberately, and I don't think it's easy to add proper undo/redo handling so I'm not really planning to add that
I got somewhat close to getting an undo/redo stack working for the editor actually, but I'm not really sure how to work around the weirdness of editable elements. It's kind of bizarre how only multi-line deletion is undoable
could it be related to built-in undo functionality of a linked textarea?
I don't think so, it's happening even if a textarea is not linked to the editor
Oh darn! Thank you again with your response to my earlier issue, and glad it may have made other installations for others go smoother, but after getting it running and messing around with the styling a bit I too was disappointed to find undo wasn't supported.
+1 for interest n this feature.
I would love an undo feature as well