diff --git a/lib/widgets/editor.dart b/lib/widgets/editor.dart index c2649383..e73baaae 100644 --- a/lib/widgets/editor.dart +++ b/lib/widgets/editor.dart @@ -321,7 +321,7 @@ class _QuillEditorSelectionGestureDetectorBuilder } } - _launchUrlIfNeeded(TapUpDetails details) { + _tappingUrlOrImage(TapUpDetails details) { TextPosition pos = getRenderEditor().getPositionForOffset(details.globalPosition); containerNode.ChildQuery result = @@ -373,7 +373,7 @@ class _QuillEditorSelectionGestureDetectorBuilder onSingleTapUp(TapUpDetails details) { getEditor().hideToolbar(); - _launchUrlIfNeeded(details); + _tappingUrlOrImage(details); if (delegate.getSelectionEnabled()) { switch (Theme.of(_state.context).platform) {