@festo-ui/angular 11.0.0-dev.942 → 11.0.0-dev.943
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -6864,14 +6864,11 @@ class FngTextEditorComponent extends FngValueAccessorBaseDirective {
|
|
|
6864
6864
|
this.quillEditor.getModule('history').clear();
|
|
6865
6865
|
this.handle();
|
|
6866
6866
|
this.quillEditor.on('text-change', () => {
|
|
6867
|
-
|
|
6868
|
-
|
|
6869
|
-
//
|
|
6870
|
-
|
|
6871
|
-
|
|
6872
|
-
this.quillEditor.setContents(content, 'silent');
|
|
6873
|
-
}
|
|
6874
|
-
this.value = sanitized;
|
|
6867
|
+
// Only read and emit the current editor value. Sanitization happens on the
|
|
6868
|
+
// INPUT path (valueSetter / writeValue) when external content is written into
|
|
6869
|
+
// the editor. Calling setContents here would interrupt live editing and cause
|
|
6870
|
+
// the cursor to jump on every keystroke.
|
|
6871
|
+
this.value = this.valueGetter(this.editorElem);
|
|
6875
6872
|
});
|
|
6876
6873
|
}
|
|
6877
6874
|
ngOnChanges(changes) {
|