Skip to content

Commit 693f4ac

Browse files
authored
Expose Rule type so that Document.setCustomRules can be used (singerdmx#2484)
1 parent 4a2e1a3 commit 693f4ac

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1616
* Focus and open context menu on right click if unfocused [#2477](https://github.com/singerdmx/flutter-quill/pull/2477).
1717
* Update QuillController `length` extension method deprecation message [#2483](https://github.com/singerdmx/flutter-quill/pull/2483).
1818

19+
### Added
20+
21+
* `Rule` is now part of the public API, so that `Document.setCustomRules` can be used.
22+
1923
## [11.0.0] - 2025-02-16
2024

2125
> [!IMPORTANT]

lib/flutter_quill.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ export 'src/editor_toolbar_controller_shared/copy_cut_service/copy_cut_service_p
3333
export 'src/editor_toolbar_controller_shared/copy_cut_service/default_copy_cut_service.dart';
3434
export 'src/editor_toolbar_controller_shared/quill_config.dart';
3535
export 'src/l10n/generated/quill_localizations.dart';
36+
export 'src/rules/rule.dart' show Rule;
3637
export 'src/toolbar/embed/embed_button_builder.dart';
3738
export 'src/toolbar/simple_toolbar.dart';
3839
export 'src/toolbar/structs/link_dialog_action.dart';

0 commit comments

Comments
 (0)