OscarGodson / EpicEditor

EpicEditor is an embeddable JavaScript Markdown editor with split fullscreen editing, live previewing, automatic draft saving, offline support, and more. For developers, it offers a robust API, can be easily themed, and allows you to swap out the bundled Markdown parser with anything you throw at it.
http://epiceditor.com
MIT License
4.25k stars 338 forks source link

Starting template #371

Closed amlwwalker closed 8 years ago

amlwwalker commented 9 years ago

hi One of the reasons I want to use epiceditor is because I think I will be able to load a template in - so that each time I create a new document, i have a basic document to work from. If I am running this locally is there any way to save and load local .md files that you know already exists, I know I would need some server side code but thought you might know of some?

massar commented 8 years ago

You would need to add some extra javascript-based functionality to be able to do this.

You can set it in opts->file->defaultContent when you start EpicEditor or push it into the textarea that you define.