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.79k stars 1.12k forks source link

Preview mode by default #810

Open Gigamick opened 3 years ago

Gigamick commented 3 years ago

I don't want to see the HTML markup in my editor view. I just want to see the rendered output. Is this possible?

pixlmint commented 3 years ago

@GigaMick There is a function togglePreview() on your SimpleMDE Object, you could call that after assigning the editor to textarea