How to get css style by vue2-editor

the name of the class used by vue2-editor to add the style, and how to get the style

there are all examples of direct use on the Internet. The preview is implemented using v-html, but because of the class name, there is no css style when previewing.

ask for divine guidance

Mar.29,2021

ask for the same question


< div class= "ql-editor" vMuhml = "form.content" > < / div >
that's it.


same request. But I found a curve-saving solution by adding vue2-deitor to the page style that needs to be displayed, then display: none, it and add the class name to the display area: ql-editor

Menu