diff --git a/src/components/model-rich-text/model-rich-text-content.vue b/src/components/model-rich-text/model-rich-text-content.vue
index 1c114f48..1e52efac 100644
--- a/src/components/model-rich-text/model-rich-text-content.vue
+++ b/src/components/model-rich-text/model-rich-text-content.vue
@@ -6,9 +6,9 @@
-
+
-
+
@@ -24,6 +24,7 @@ const props = defineProps({
const form = reactive(props.value);
const mode = ref('default'); // 编辑器模式
+const editorRef = ref(null);
// 编辑器实例,必须用 shallowRef
const editor_ref = shallowRef();
// 插入光标位置
@@ -89,7 +90,8 @@ const upload_list_change = (arry: uploadList[]) => {
// editor.select(cursor_position.value);
// // editor.deleteFragment();
- editor.dangerouslyInsertHtml(new_html);
+ // editor.dangerouslyInsertHtml(new_html);
+ console.log(editorRef);
}
upload_list.value = [];
};