add attributes to table cells

This commit is contained in:
Hans Pagel
2021-01-22 00:07:31 +01:00
parent 3a511c4276
commit c4f35911a0
2 changed files with 19 additions and 7 deletions

View File

@@ -4,22 +4,22 @@
createTable
</button>
<button @click="editor.chain().focus().addColumnBefore().run()">
addColumnBefore
addColumnBefore
</button>
<button @click="editor.chain().focus().addColumnAfter().run()">
addColumnAfter
addColumnAfter
</button>
<button @click="editor.chain().focus().deleteColumn().run()">
deleteColumn
deleteColumn
</button>
<button @click="editor.chain().focus().addRowBefore().run()">
addRowBefore
addRowBefore
</button>
<button @click="editor.chain().focus().addRowAfter().run()">
addRowAfter
addRowAfter
</button>
<button @click="editor.chain().focus().deleteRow().run()">
deleteRow
deleteRow
</button>
<button @click="editor.chain().focus().deleteTable().run()">
deleteTable