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 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(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue