diff --git a/lib/src/widgets/raw_editor.dart b/lib/src/widgets/raw_editor.dart index c531ff88..a29fc90a 100644 --- a/lib/src/widgets/raw_editor.dart +++ b/lib/src/widgets/raw_editor.dart @@ -699,6 +699,10 @@ class RawEditorState extends EditorState getRenderEditor()!.debugAssertLayoutUpToDate(); } + /// Shows the selection toolbar at the location of the current cursor. + /// + /// Returns `false` if a toolbar couldn't be shown, such as when the toolbar + /// is already shown, or when no text selection currently exists. @override bool showToolbar() { // Web is using native dom elements to enable clipboard functionality of the