The Quill Editor internall uses some own style sheet for rendering the text that is edited:
Code:
eclnt/risc/ext_quill/quill136/quill.snow.css
So you need to take over the style sheet into your dialog and render the content using the same style-environment.
Luckily Quill keeps all its style classes in super-separated namespaces so it is not a problem to integrated this into CaptainCasa dialogs.
The way to go is:
1. Integrate the Quill-style sheet into the CaptainCasa dialogs. This is done through system.xml:
Code:
<system>
...
<riscclientstyle src="eclnt/risc/ext_quill/quill136/quill.snow.css"/>
...
</system>
2. Before taking over the text into e.g. a TEXTPANE with CONTENTTYPE "text/html" do:
Code:
m_htmlDisplayText =
"<div class='ql-editor'>" +
m_htmlEditText +
"</div>";
Now the text is using the style definitions from the Quill editor.
Kind regards! Björn