A platform for community discussion. Free, open, simple.
DEV: remove unused function in d-editor (#15680)
Andrei Prigorshnev5cce39278a28
diff --git a/app/assets/javascripts/discourse/app/components/d-editor.js b/app/assets/javascripts/discourse/app/components/d-editor.jsindex 16d3796e42d..64dc6fe91b0 100644--- a/app/assets/javascripts/discourse/app/components/d-editor.js+++ b/app/assets/javascripts/discourse/app/components/d-editor.js@@ -821,7 +821,6 @@ export default Component.extend(TextareaTextManipulation, {applyList: (head, exampleKey, opts) =>this._applyList(selected, head, exampleKey, opts),addText: (text) => this._addText(selected, text),- replaceText: (text) => this._addText({ pre: "", post: "" }, text),getText: () => this.value,toggleDirection: () => this._toggleDirection(),};