diff --git a/lib/src/widgets/raw_editor/raw_editor.dart b/lib/src/widgets/raw_editor/raw_editor.dart index b69b7515..12844828 100644 --- a/lib/src/widgets/raw_editor/raw_editor.dart +++ b/lib/src/widgets/raw_editor/raw_editor.dart @@ -29,7 +29,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;