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.
This seems like a bug. Is there any reason to be calling window.parent here? Even in the first commit, this line was there, yet there were no other calls to window.parent. Everything works fine with just window.
unload
.You will get an error because of this line:
editor = window.parent.document.getElementById(self._instanceId);
This seems like a bug. Is there any reason to be calling
window.parent
here? Even in the first commit, this line was there, yet there were no other calls towindow.parent
. Everything works fine with justwindow
.