el-text-editor 0.0.73 → 0.0.74
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.
@@ -689,7 +689,7 @@ class ElTextEditorComponent {
|
|
689
689
|
setupMutationObserver(editor) {
|
690
690
|
const observer = new MutationObserver(() => {
|
691
691
|
// Move the caret to the end after content changes
|
692
|
-
|
692
|
+
this.moveCaretToEnd(editor);
|
693
693
|
// Update model with the current content
|
694
694
|
this.onModelChange(editor.innerHTML);
|
695
695
|
});
|