changed customStyles fix

pull/599/head
Andriy Trubchanin 3 years ago
parent 9732f5093c
commit 1746f435c1
  1. 5
      lib/src/widgets/raw_editor.dart

@ -603,6 +603,11 @@ class RawEditorState extends EditorState
openConnectionIfNeeded(); openConnectionIfNeeded();
} }
} }
// in case customStyles changed in new widget
if (widget.customStyles != null) {
_styles = _styles!.merge(widget.customStyles!);
}
} }
bool _shouldShowSelectionHandles() { bool _shouldShowSelectionHandles() {

Loading…
Cancel
Save