sparksuite / simplemde-markdown-editor

A simple, beautiful, and embeddable JavaScript Markdown editor. Delightful editing for beginners and experts alike. Features built-in autosaving and spell checking.
https://simplemde.com
MIT License
9.92k stars 1.12k forks source link

Make useable outside of DOM #428

Open burn2delete opened 8 years ago

burn2delete commented 8 years ago

Hello,

The biggest problem I have with simplemde is that I cannot create or work on an editor outside of the DOM. It must have a parent for things to work, which breaks heavily. Making it incompatible with SPA's that work outside the DOM.

Unless there is a way to work around this?

burn2delete commented 8 years ago

My suggestion would be to split the attachment of the element to the dom from the creation of the editor.

WesCossick commented 8 years ago

Something to look into going forward.