The quill editor (same with CKEditor and also with other embedded "external" frameworks: charjs, openstreetmap, ...) is embedded within an own iframe. In this iframe a "bridgepage" is started which actually connects the CaptainCasa-client-processing with the editor.
The default bridge page is:
Code:
eclnt/risc/ext_quill/quillbridge.html
It is (as all CaptainCasa resources) contained in the eclntjsfserver-xxx.jar
You can define your own bridgepage easily - and in this one you can configure the quill editor by its JavaScript API. In the SIMPLEHTMLEDITOR-control there is an attribute BRIDGEPAGE - and this is exactly the page that is used to embed the editor.
When using the default page the definition is:
<t:simplehtmleditor ... bridgepage="eclnt/risc/ext_quill/quillbridge.html" ...>
</t:simplehtmleditor>
You you can write your own one by copying the default one e.g. in "eclnt/risc/ext_quill/myownbrifgepage.html" and there do "anything" you like. In the default file you will clearly see the location where Quill is initialized.
Important: please do no have the idea to place your own file into the eclntjsfserver-xxx.jar file...!
There are two options:
1. place it in your java-resources - so that CaptainCasa loads it by classloader reading
2. place in in the webcontent
Option 1. is clearly better, because your file is now part of your .jar file and as result is part of your .jar file - so that re-distribution in other projects is much simpler.
Kind regards! Björn