diff --git a/lib/src/editor/raw_editor/raw_editor.dart b/lib/src/editor/raw_editor/raw_editor.dart index 5a6d04cf..ae6195e1 100644 --- a/lib/src/editor/raw_editor/raw_editor.dart +++ b/lib/src/editor/raw_editor/raw_editor.dart @@ -31,7 +31,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 QuillRawEditorConfigurations configurations;