diff --git a/packages/web/src/javascripts/Components/SuperEditor/Plugins/ToolbarPlugin/ToolbarPlugin.tsx b/packages/web/src/javascripts/Components/SuperEditor/Plugins/ToolbarPlugin/ToolbarPlugin.tsx index c66a49bb0..a2fb5672a 100644 --- a/packages/web/src/javascripts/Components/SuperEditor/Plugins/ToolbarPlugin/ToolbarPlugin.tsx +++ b/packages/web/src/javascripts/Components/SuperEditor/Plugins/ToolbarPlugin/ToolbarPlugin.tsx @@ -801,23 +801,22 @@ const ToolbarPlugin = () => { )} - {hasNonCollapsedSelection && ( - -
Create new note from selection
-
- Creates a new note containing the current selection and replaces the selection with a link to the - new note. -
- - } - iconName="notes" - onSelect={() => { - editor.dispatchCommand(CREATE_NOTE_FROM_SELECTION_COMMAND, undefined) - }} - /> - )} + +
Create new note from selection
+
+ Creates a new note containing the current selection and replaces the selection with a link to the + new note. +
+ + } + iconName="notes" + onSelect={() => { + editor.dispatchCommand(CREATE_NOTE_FROM_SELECTION_COMMAND, undefined) + }} + disabled={!hasNonCollapsedSelection} + /> {isMobile && (