MOBILE-2448 rte: Fix empty content when editing wiki pages with RTE disabled

main
Albert Gasset 2018-06-26 17:29:11 +02:00
parent ef20b3c3dd
commit d1b86435a1
1 changed files with 1 additions and 0 deletions

View File

@ -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.