onEditorLoaded method
Callback function triggered when the editor is completely loaded.
The onEditorLoaded callback function is called when the Quill editor is fully loaded and ready for user interaction. It provides an opportunity to perform actions or initialize any additional functionality once the editor is loaded.
Implementation
void onEditorLoaded(VoidCallback callback) {
try {
if (_editorLoadedController != null &&
_editorLoadedController?.hasListener == false) {
_editorLoadedController?.stream.listen((event) {
callback();
});
}
} catch (e) {
if (!kReleaseMode) {
debugPrint(e.toString());
}
}
return;
}