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