forked from potsda.mn/mobilizon
Do not emit events when setting editor content
Fixes spaces being eater Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
parent
63fdfc7190
commit
557d599adf
|
@ -419,7 +419,7 @@ export default class EditorComponent extends Vue {
|
|||
onValueChanged(val: string): void {
|
||||
if (!this.editor) return;
|
||||
if (val !== this.editor.getHTML()) {
|
||||
this.editor.setContent(val);
|
||||
this.editor.setContent(val, false);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue