Package overit.geocall.basic.ui
Class QuillJavascriptLoader
java.lang.Object
overit.geocall.basic.ui.QuillJavascriptLoader
Spring service responsible for loading all Quill Editor related JavaScript and CSS dependencies.
This service centralizes the loading of Quill Editor resources, ensuring that all required scripts
and stylesheets are loaded in the correct order. It is designed to be called by UI components
(such as
InputHtml) that need rich text editing capabilities.-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
QuillJavascriptLoader
public QuillJavascriptLoader()
-
-
Method Details
-
load
Loads all Quill Editor JavaScript and CSS dependencies into the specified window.This method adds all required Quill Editor resources to the window's EntitySet in the correct order:
- CSS stylesheets (Quill themes and CodeMirror)
- Core JavaScript libraries (Quill and CodeMirror)
- CodeMirror syntax highlighting modes
- CodeMirror editor addons
- Quill modules and extensions
- Quill configuration (loaded last)
- Parameters:
window- the Window instance to which the scripts and stylesheets will be added. Must not be null. The window's EntitySet will be populated with all required Quill resources.- Throws:
NullPointerException- if window is null
-