The style of vue-quill-editor

After editing the article, show it and find that the previously edited style does not take effect. At this time, you need to add the class name to the rendered content box to take effect.
Insert picture description here

<div class="ql-container ql-snow">
     <div class="ql-editor" v-html="list.content">
</div>

And you need to ensure that there is a style to introduce css
in main.js or in other component js and then lead to main.js
or introduce in the page

import 'quill/dist/quill.snow.css'

Guess you like

Origin blog.csdn.net/weixin_48371382/article/details/115357368