vueup / vue-quill

Rich Text Editor Component for Vue 3.
https://vueup.github.io/vue-quill/
MIT License
1.08k stars 261 forks source link

How to display the contents of the table? #520

Closed ccc469 closed 3 months ago

ccc469 commented 6 months ago

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: `

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):

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

stale[bot] commented 4 months ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

ycldz commented 1 month ago

Hello.

I wonder how you added the table button, can you help me.