mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-05-26 08:39:58 +08:00
@ -30,6 +30,12 @@ class MarkdownEditor {
|
||||
this.displayDoc = this.display.contentDocument;
|
||||
this.init();
|
||||
});
|
||||
|
||||
window.$events.emitPublic(elem, 'editor-markdown::setup', {
|
||||
markdownIt: this.markdown,
|
||||
displayEl: this.display,
|
||||
codeMirrorInstance: this.cm,
|
||||
});
|
||||
}
|
||||
|
||||
init() {
|
||||
|
Reference in New Issue
Block a user