|
@@ -81,7 +81,7 @@ const getImagesFromContent = (content) => {
|
|
|
if (!content) return []
|
|
if (!content) return []
|
|
|
|
|
|
|
|
const delta = typeof content === 'string' ?
|
|
const delta = typeof content === 'string' ?
|
|
|
- quillRef.value?.clipboard.convert(content) :
|
|
|
|
|
|
|
+ quillRef.value?.clipboard?.convert(content) :
|
|
|
content
|
|
content
|
|
|
|
|
|
|
|
const images = []
|
|
const images = []
|
|
@@ -627,7 +627,7 @@ const handleDialogClose = () => {
|
|
|
<div class="w-full">
|
|
<div class="w-full">
|
|
|
<!-- 添加编辑器就绪事件 -->
|
|
<!-- 添加编辑器就绪事件 -->
|
|
|
<QuillEditor
|
|
<QuillEditor
|
|
|
- :ref="quillRef"
|
|
|
|
|
|
|
+ ref="quillRef"
|
|
|
v-model:content="formData.programDetails"
|
|
v-model:content="formData.programDetails"
|
|
|
:options="quillOptions"
|
|
:options="quillOptions"
|
|
|
content-type="html"
|
|
content-type="html"
|