vue-quill icon indicating copy to clipboard operation
vue-quill copied to clipboard

How to display the contents of the table?

Open ccc469 opened this issue 1 year ago • 0 comments

Version @vueup/vue-quill version [e.g. 1.2.0]

Describe the bug Table contents cannot be echoed into the editor.

To Reproduce Steps to reproduce the behavior:

  1. The vue code is as follows: `<QuillEditor class="custom-editor" ref="editorRef" toolbar="#custom-editor__toolbar" v-model:content="content" :modules="modules" theme="snow" contentType="html" />

const props = defineProps({ defaultValue: { type: String, required: false, default: '' } }); const content = ref(props.defaultValue); console.log("🚀 ~ props:", props.defaultValue) console.log("🚀 ~ content:", content.value) `

Table code: `

a

b

c

1

2

3

`

Expected behavior Displays the table contents in the editor.

Reproduction link No content.

Browser (please complete the following information):

  • Os [e.g. Mac osx 14.0]
  • Browser [e.g. Chrome]
  • Version [e.g. 122.0.6261.94]

Additional context Here's an example screenshot of the 'content' property having a value, but for some reason it doesn't display properly? image

ccc469 avatar Mar 02 '24 01:03 ccc469