Merge pull request #1385 from albertgasset/MOBILE-2448

MOBILE-2448 rte: Fix empty content when editing wiki pages with RTE d…
This commit is contained in:
Juan Leyva 2018-07-04 10:39:51 +02:00 committed by GitHub
commit 1c322efd2b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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.