format rich text editor

This commit is contained in:
Yisroel Baum 2026-06-21 22:13:43 +03:00
parent 11a0b1576f
commit ac0f404fce
Signed by: yisroelbaum
GPG key ID: 0FA60884F75520A9

View file

@ -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(