From f23f271b1bfa4e1482935163f3bc5f2699e84485 Mon Sep 17 00:00:00 2001 From: Marcella Maki Date: Tue, 12 May 2026 14:37:25 -0400 Subject: [PATCH] Update editor toolbar and mobile toolbar to remove alignment and super/sub scripts --- .../TipTapEditor/components/EditorToolbar.vue | 4 +++- .../components/toolbar/MobileFormattingBar.vue | 13 +++++++------ 2 files changed, 10 insertions(+), 7 deletions(-) diff --git a/contentcuration/contentcuration/frontend/shared/views/TipTapEditor/TipTapEditor/components/EditorToolbar.vue b/contentcuration/contentcuration/frontend/shared/views/TipTapEditor/TipTapEditor/components/EditorToolbar.vue index 39374181a8..41e6f73add 100644 --- a/contentcuration/contentcuration/frontend/shared/views/TipTapEditor/TipTapEditor/components/EditorToolbar.vue +++ b/contentcuration/contentcuration/frontend/shared/views/TipTapEditor/TipTapEditor/components/EditorToolbar.vue @@ -391,7 +391,9 @@ // 'script', 'lists', 'clearFormat', - 'align', + // Perseus flavoured markdown does not support alignment, + // so we disable this for now until we stop using markdown as the primary target + // 'align', 'clipboard', 'textFormat', ]; diff --git a/contentcuration/contentcuration/frontend/shared/views/TipTapEditor/TipTapEditor/components/toolbar/MobileFormattingBar.vue b/contentcuration/contentcuration/frontend/shared/views/TipTapEditor/TipTapEditor/components/toolbar/MobileFormattingBar.vue index 2d254fa4a9..7cd939cf70 100644 --- a/contentcuration/contentcuration/frontend/shared/views/TipTapEditor/TipTapEditor/components/toolbar/MobileFormattingBar.vue +++ b/contentcuration/contentcuration/frontend/shared/views/TipTapEditor/TipTapEditor/components/toolbar/MobileFormattingBar.vue @@ -81,13 +81,17 @@ :is-active="action.isActive" @click="action.handler" /> + +