vue-quill-editor introduced css file back nearly as good, but the problem when some style preview

Problem Description: When using vue-quill-editor, and some styles can not edit the same performance, such as: <pre></pre>analysis css style editor known, .ql-editor outer layer also need to add a class name ql-snow, ( the premise is already quoted the css file import 'quill/dist/quill.snow.css')

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

Reference links: VUE-Quill-style problems Editor

Guess you like

Origin www.cnblogs.com/chaoyueqi/p/11716464.html