From 7ef076f2cec57dbdf46b3a5242aeb7a416d37b0d Mon Sep 17 00:00:00 2001 From: Aman Harwara Date: Wed, 25 Oct 2023 11:51:15 +0530 Subject: [PATCH] chore: move indent/outdent items out of menu [skip e2e] --- .../Plugins/ToolbarPlugin/ToolbarPlugin.tsx | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) 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 8664513d0..bf4eee052 100644 --- a/packages/web/src/javascripts/Components/SuperEditor/Plugins/ToolbarPlugin/ToolbarPlugin.tsx +++ b/packages/web/src/javascripts/Components/SuperEditor/Plugins/ToolbarPlugin/ToolbarPlugin.tsx @@ -576,6 +576,16 @@ const ToolbarPlugin = () => { + IndentBlock.onSelect(editor)} + /> + OutdentBlock.onSelect(editor)} + /> { @@ -804,9 +814,6 @@ const ToolbarPlugin = () => { active={elementFormat === 'justify'} onClick={() => JustifyAlignBlock.onSelect(editor)} /> - - IndentBlock.onSelect(editor)} /> - OutdentBlock.onSelect(editor)} />