MOBILE-2448 rte: Fix empty content when editing wiki pages with RTE disabled
parent
ef20b3c3dd
commit
d1b86435a1
|
@ -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).
|
// 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.valueChangeSubscription = this.control.valueChanges.subscribe((param) => {
|
||||||
this.editorElement.innerHTML = param;
|
this.editorElement.innerHTML = param;
|
||||||
|
this.textarea.value = param;
|
||||||
});
|
});
|
||||||
|
|
||||||
// Setup button actions.
|
// Setup button actions.
|
||||||
|
|
Loading…
Reference in New Issue