diff --git a/src/pen.js b/src/pen.js index 3819be2..8aaf4a5 100755 --- a/src/pen.js +++ b/src/pen.js @@ -512,7 +512,7 @@ this._prevContent = this.getContent(); // enable markdown covert - if (this.markdown) this.markdown.init(this); + //if (this.markdown) this.markdown.init(this); // stay on the page if (this.config.stay) this.stay(this.config); @@ -782,6 +782,7 @@ } else { initToolbar(this); initEvents(this); + if (this.markdown) this.markdown.init(this); } this._isDestroyed = destroy; this.config.editor[attr]('contenteditable', '');