Hi there,
im trying to implement the TipTap Table Component for the table Block (created a plugin for that). So far my index.js looks like this:
// Blocks
import Table from "./components/blocks/Table.vue";
panel.plugin("pffx/table", {
blocks: {
'table': Table,
},
});
The Table Component File (Table.vue) looks like this:
<script>
import { Editor, EditorContent } from '@tiptap/vue-2'
import StarterKit from '@tiptap/starter-kit'
export default{
components: {
EditorContent,
},
data() {
return {
editor: null,
}
},
mounted() {
....
When going to the panel it shows the following error in the console:
Uncaught ReferenceError: process is not defined
When I remove the components Object from the Table.vue file the error disappears. So I think that there is a Problem when importing the TipTap Component, but I´m not sure how to solve it. Can somebody help?