From 6830f8c6616d91e005a41ea622eb4e9e1a938662 Mon Sep 17 00:00:00 2001 From: Ellet Date: Sat, 2 Dec 2023 07:50:44 +0300 Subject: [PATCH] docs: Outdated custom embed blocks page --- doc/custom_embed_blocks.md | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/doc/custom_embed_blocks.md b/doc/custom_embed_blocks.md index 972dd9d03..2b6093b9e 100644 --- a/doc/custom_embed_blocks.md +++ b/doc/custom_embed_blocks.md @@ -88,9 +88,15 @@ Future _addEditNote(BuildContext context, {Document? document}) async { ) ], ), - content: QuillEditor.basic( + content: QuillProvider( + configurations: QuillConfigurations( controller: quillEditorController, - readOnly: false, + ), + child: QuillEditor.basic( + configurations: const QuillEditorConfigurations( + readOnly: false, + ), + ), ), ), );