Skip to content Skip to sidebar Skip to footer

The Quill Publicly Available Css

My initial intend is to generate PDF files from the HTML outputed by the PrimeFaces TextEditor component, which, in turn, is based on the free and open source WYSIWYG editor Quill

Solution 1:

The only style in that stylesheet for .ql-size-large is .ql-editor .ql-size-large, meaning it applies to elements with the class ql-size-large which are nested inside an element with class ql-editor. So if you have this snippet:

<spanclass="ql-size-large">Hello, dear friends!</span>

Then you need to embed this inside an element with the class ql-editor to end up with:

<divclass="ql-editor"><spanclass="ql-size-large">Hello, dear friends!</span></div>

Then the CSS selector .ql-editor .ql-size-large will apply and style that element.

Post a Comment for "The Quill Publicly Available Css"