vue-quill
vue-quill copied to clipboard
How to display the contents of the table?
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:
- 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
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?