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.
update: it seems to be an issue with being in a container div
update2: major durp on my part,
editor.load(function () {
editor.reflow();
});
has resolved the problem.
So I'm wanting to integrate this awesome editor with my latest node project. I serve compiled jade templates with an include for epic editor. All scripts are fine, there are no 404 relating to styles or other problems.
update: it seems to be an issue with being in a container div update2: major durp on my part,
has resolved the problem.
So I'm wanting to integrate this awesome editor with my latest node project. I serve compiled jade templates with an include for epic editor. All scripts are fine, there are no 404 relating to styles or other problems.
My JS to show the editor is
the markup on the page doesn't change, however if I run editor.load() from the console the editor appears.
There are no script errors or resource 404's.... any ideas?
cheers