diff --git a/lib/src/editor/raw_editor/raw_editor.dart b/lib/src/editor/raw_editor/raw_editor.dart index 23b3130b..6a55425a 100644 --- a/lib/src/editor/raw_editor/raw_editor.dart +++ b/lib/src/editor/raw_editor/raw_editor.dart @@ -38,7 +38,9 @@ class QuillRawEditor extends StatefulWidget { configurations.maxHeight == null || configurations.minHeight == null || configurations.maxHeight! >= configurations.minHeight!, - 'maxHeight cannot be null'); + 'maxHeight cannot be null') { + configurations.controller.readOnly = configurations.readOnly; + } final QuillController controller; final QuillRawEditorConfigurations configurations;