From 042a772ebea62e0d5b689659fde3535a771bfb4b Mon Sep 17 00:00:00 2001 From: Thibaut Patel Date: Wed, 17 Nov 2021 16:30:18 +0100 Subject: [PATCH] Fixed an error on the KoenigBasicHtmlTextarea refs https://github.com/TryGhost/Team/issues/1206 - Backspace was triggering the error due to undefined `SPECIAL_MARKUPS` --- .../addon/components/koenig-basic-html-textarea.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ghost/admin/lib/koenig-editor/addon/components/koenig-basic-html-textarea.js b/ghost/admin/lib/koenig-editor/addon/components/koenig-basic-html-textarea.js index aefe55d1e9..f4af123181 100644 --- a/ghost/admin/lib/koenig-editor/addon/components/koenig-basic-html-textarea.js +++ b/ghost/admin/lib/koenig-editor/addon/components/koenig-basic-html-textarea.js @@ -110,6 +110,8 @@ export default Component.extend({ init() { this._super(...arguments); + + this.SPECIAL_MARKUPS = SPECIAL_MARKUPS; }, didReceiveAttrs() {