Skip to content

Commit 54e20e5

Browse files
authored
chore: add some missing fields in QuillEditorConfig.copyWith (#2434)
1 parent 59c9da4 commit 54e20e5

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

lib/src/editor/config/editor_config.dart

+8
Original file line numberDiff line numberDiff line change
@@ -488,6 +488,12 @@ class QuillEditorConfig {
488488
Brightness? keyboardAppearance,
489489
ScrollPhysics? scrollPhysics,
490490
ValueChanged<String>? onLaunchUrl,
491+
bool Function(
492+
TapDragDownDetails details, TextPosition Function(Offset offset))?
493+
onTapDown,
494+
bool Function(
495+
TapDragUpDetails details, TextPosition Function(Offset offset))?
496+
onTapUp,
491497
Iterable<EmbedBuilder>? embedBuilders,
492498
EmbedBuilder? unknownEmbedBuilder,
493499
CustomStyleBuilder? customStyleBuilder,
@@ -547,6 +553,8 @@ class QuillEditorConfig {
547553
keyboardAppearance: keyboardAppearance ?? this.keyboardAppearance,
548554
scrollPhysics: scrollPhysics ?? this.scrollPhysics,
549555
onLaunchUrl: onLaunchUrl ?? this.onLaunchUrl,
556+
onTapUp: onTapUp ?? this.onTapUp,
557+
onTapDown: onTapDown ?? this.onTapDown,
550558
embedBuilders: embedBuilders ?? this.embedBuilders,
551559
unknownEmbedBuilder: unknownEmbedBuilder ?? this.unknownEmbedBuilder,
552560
customStyleBuilder: customStyleBuilder ?? this.customStyleBuilder,

0 commit comments

Comments
 (0)