format rich text editor
This commit is contained in:
parent
11a0b1576f
commit
ac0f404fce
1 changed files with 6 additions and 4 deletions
|
|
@ -133,10 +133,12 @@ const isInTable = computed(() => {
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
|
|
||||||
return editorInstance.isActive('table')
|
return (
|
||||||
|| editorInstance.isActive('tableCell')
|
editorInstance.isActive('table') ||
|
||||||
|| editorInstance.isActive('tableHeader')
|
editorInstance.isActive('tableCell') ||
|
||||||
|| editorInstance.isActive('tableRow')
|
editorInstance.isActive('tableHeader') ||
|
||||||
|
editorInstance.isActive('tableRow')
|
||||||
|
)
|
||||||
})
|
})
|
||||||
|
|
||||||
watch(
|
watch(
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue