2021-07-13 21:08:20 +00:00
|
|
|
import { TableCell } from '@tiptap/extension-table-cell';
|
2021-08-20 18:12:04 +00:00
|
|
|
import { VueNodeViewRenderer } from '@tiptap/vue-2';
|
2021-09-03 18:10:36 +00:00
|
|
|
import TableCellBodyWrapper from '../components/wrappers/table_cell_body.vue';
|
2021-07-13 21:08:20 +00:00
|
|
|
|
2021-07-27 21:09:42 +00:00
|
|
|
export default TableCell.extend({
|
2021-11-17 15:10:28 +00:00
|
|
|
content: 'block+',
|
2021-08-20 18:12:04 +00:00
|
|
|
|
|
|
|
addNodeView() {
|
2021-09-03 18:10:36 +00:00
|
|
|
return VueNodeViewRenderer(TableCellBodyWrapper);
|
2021-08-20 18:12:04 +00:00
|
|
|
},
|
2021-07-13 21:08:20 +00:00
|
|
|
});
|