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(