Skip to content

Commit

Permalink
chore: annotate QuillEditorConfig.magnifierConfiguration as experimental
Browse files Browse the repository at this point in the history
  • Loading branch information
EchoEllet committed Oct 27, 2024
1 parent 79a771a commit f1a7e57
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions doc/migration/10_to_11.md
Original file line number Diff line number Diff line change
Expand Up @@ -281,5 +281,6 @@ in non-major releases:
- The `QuillEditorConfig.characterShortcutEvents` and `QuillEditorConfig.spaceShortcutEvents`.
- The `QuillControllerConfig.onClipboardPaste`.
- The `QuillEditorConfig.customLeadingBlockBuilder`.
- The magnifier feature including `QuillEditorConfig.magnifierConfiguration`.

The functionality itself has not changed and no experimental changes were introduced.
2 changes: 1 addition & 1 deletion lib/src/editor/config/editor_config.dart
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ class QuillEditorConfig {
this.contextMenuBuilder,
this.editorKey,
this.requestKeyboardFocusOnCheckListChanged = false,
this.magnifierConfiguration,
@experimental this.magnifierConfiguration,
this.textInputAction = TextInputAction.newline,
this.enableScribble = false,
this.onScribbleActivated,
Expand Down
3 changes: 2 additions & 1 deletion lib/src/editor/raw_editor/config/raw_editor_config.dart
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ class QuillRawEditorConfig {
this.onScribbleActivated,
this.scribbleAreaInsets,
this.readOnlyMouseCursor = SystemMouseCursors.text,
this.magnifierConfiguration,
@experimental this.magnifierConfiguration,
this.onPerformAction,
@experimental this.customLeadingBuilder,
});
Expand Down Expand Up @@ -378,6 +378,7 @@ class QuillRawEditorConfig {
/// Optional insets for the scribble area.
final EdgeInsets? scribbleAreaInsets;

@experimental
final TextMagnifierConfiguration? magnifierConfiguration;

/// Called when a text input action is performed.
Expand Down

0 comments on commit f1a7e57

Please sign in to comment.