ngAfterContentInit method
void
ngAfterContentInit(
)
Implementation
@override
ngAfterContentInit() {
final newEditor = new quill.QuillStatic(editor,
new quill.QuillOptionsStatic(
theme: 'snow',
placeholder: placeholder,
modules: jsify(modules)
)
);
_textChangeSub = allowInterop(_onTextChange);
_selectionChangeSub = allowInterop(_onSelectionChange);
newEditor.on('text-change', _textChangeSub);
newEditor.on('selection-change', _selectionChangeSub);
newEditor.enable(!_disabled);
newEditor.pasteHTML(_initialValue);
quillEditor = newEditor;
}