From ac0f404fce74d0e20d26fc5f3d1b2077e0ec63a3 Mon Sep 17 00:00:00 2001 From: Yisroel Baum Date: Sun, 21 Jun 2026 22:13:43 +0300 Subject: [PATCH] format rich text editor --- frontend/rabbi_gerzi/src/components/RichTextEditor.vue | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/frontend/rabbi_gerzi/src/components/RichTextEditor.vue b/frontend/rabbi_gerzi/src/components/RichTextEditor.vue index 735c353..7fef966 100644 --- a/frontend/rabbi_gerzi/src/components/RichTextEditor.vue +++ b/frontend/rabbi_gerzi/src/components/RichTextEditor.vue @@ -133,10 +133,12 @@ const isInTable = computed(() => { return false } - return editorInstance.isActive('table') - || editorInstance.isActive('tableCell') - || editorInstance.isActive('tableHeader') - || editorInstance.isActive('tableRow') + return ( + editorInstance.isActive('table') || + editorInstance.isActive('tableCell') || + editorInstance.isActive('tableHeader') || + editorInstance.isActive('tableRow') + ) }) watch(