Ionaru / easy-markdown-editor

EasyMDE: A simple, beautiful, and embeddable JavaScript Markdown editor. Delightful editing for beginners and experts alike. Features built-in autosaving and spell checking.
https://stackblitz.com/edit/easymde
MIT License
2.31k stars 308 forks source link

Publicly expose _toggleLink/_replaceSelection #584

Open LennardF1989 opened 4 months ago

LennardF1989 commented 4 months ago

It's currently impossible to perform text-selection modifications from a custom button using the same logic as EasyMDE.

The only workaround right now is outright copy/pasting these functions to your own code.