From d1b86435a145333ddba32836411887de402e4dcd Mon Sep 17 00:00:00 2001 From: Albert Gasset Date: Tue, 26 Jun 2018 17:29:11 +0200 Subject: [PATCH] MOBILE-2448 rte: Fix empty content when editing wiki pages with RTE disabled --- src/components/rich-text-editor/rich-text-editor.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/rich-text-editor/rich-text-editor.ts b/src/components/rich-text-editor/rich-text-editor.ts index d1695d05e..761bb56a2 100644 --- a/src/components/rich-text-editor/rich-text-editor.ts +++ b/src/components/rich-text-editor/rich-text-editor.ts @@ -101,6 +101,7 @@ export class CoreRichTextEditorComponent implements AfterContentInit, OnDestroy // Listen for changes on the control to update the editor (if it is updated from outside of this component). this.valueChangeSubscription = this.control.valueChanges.subscribe((param) => { this.editorElement.innerHTML = param; + this.textarea.value = param; }); // Setup button actions.