diff --git a/app/assets/javascripts/discourse/app/components/d-editor.js b/app/assets/javascripts/discourse/app/components/d-editor.js index 4917acc81cd..f979d7cc720 100644 --- a/app/assets/javascripts/discourse/app/components/d-editor.js +++ b/app/assets/javascripts/discourse/app/components/d-editor.js @@ -367,6 +367,9 @@ export default Component.extend({ if (this.isDestroyed) { return; } + + if (this.preview === cooked) return; + this.set("preview", cooked); schedule("afterRender", () => { if (this._state !== "inDOM") {