Closed rashmi-key closed 3 weeks ago
I'll suppose QuillRichTextEditor
is your own custom widget that is wrapping your QuillEditor
implementation. So, do you already pass embedBuilders
list from FlutterQuillEmbeds
to your QuillEditorConfigurations
?
Here is a code example of the embedBuilder
param:
QuillEditorConfigurations(
embedBuilders: [
...(isWeb()
? FlutterQuillEmbeds.editorWebBuilders()
: FlutterQuillEmbeds.editorBuilders(),
]
);
If you already has these configs, then, update to the last version of flutter_quill
and flutter_quill_extension
and watch if the error still persisting.
Please, take a look about the documentation at Embed blocks
Not related to the issue, though we recommend using the same version for all packages from this repository for better compatibility, we might import some non public API from flutter_quill
in flutter_quill_extensions
or do some internal breaking changes that cause build failure, even if you don't have any built failure, some fixes require changes from both packages.
Regarding the fix, try the suggestion above, and let's know if the issue persists.
flutter_quill_extension
Added this param still issue persist in android . After updating to the latest version getting below error.
` ======== Exception caught by widgets library ======================================================= The following assertion was thrown building QuillEditorBuilderWidget: A GlobalKey was used multiple times inside one widget's child list.
The offending GlobalKey was: [LabeledGlobalKey
`
In my scenario have to use 3 quill editor in the single screen . So I have added key UniqueKey() all the 3 quilleditor. Below is the code snippet .
QuillRichTextEditorV2( key: UniqueKey(), readOnly: false, quillControllerEdit: quillControllerEditAdd, scrollController: editorScrollControllerEdiAdd, buildContext: context, editorFocusNode: editorFocusNodeEditAdd, onImagePickCallback: _onImagePickCallback),
Any update on the above mentioned issues?
Is there an existing issue for this?
The question
Following pub version I'm using . We are not getting any error but not able to write anything . Below is the code snippet