EasyMDE: A simple, beautiful, and embeddable JavaScript Markdown editor. Delightful editing for beginners and experts alike. Features built-in autosaving and spell checking.
The undo and redo buttons are currently always enabled when present in the toolbar, even when there is no history.
Would it be a feature to listen to changes and enable/disable the buttons depending on the history?
The undo and redo buttons are currently always enabled when present in the toolbar, even when there is no history. Would it be a feature to listen to changes and enable/disable the buttons depending on the history?
https://user-images.githubusercontent.com/935529/213391633-e48ac603-7d28-4f59-878d-90bc966f2463.mov
Demo: https://codepen.io/snap/pen/dyjRRwr?editors=1010