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 334 forks source link

loading more than one editor at a time #272

Closed anibalgomezprojects closed 11 years ago

anibalgomezprojects commented 11 years ago

I am implementing multil-language support, is there a way to load more than one epiceditor at a time? i can't load more than 1

OscarGodson commented 11 years ago

Should be as simple as:

var editor1 = new EpicEditor({ container: 'foo' });
var editor2 = new EpicEditor({ container: 'bar' });

Example to JSBin in the comments here: https://github.com/OscarGodson/EpicEditor/issues/138

Closing, but feel free to reopen if for some reason this isn't working.