1
0
mirror of https://github.com/BookStackApp/BookStack.git synced 2025-07-24 07:42:07 +03:00

Added table creation and insertion

This commit is contained in:
Dan Brown
2022-01-19 15:22:10 +00:00
parent b2283106fc
commit 4b08eef12c
10 changed files with 185 additions and 6 deletions

View File

@ -1,6 +1,7 @@
import {EditorState} from "prosemirror-state";
import {EditorView} from "prosemirror-view";
import {exampleSetup} from "prosemirror-example-setup";
import {tableEditing} from "prosemirror-tables";
import {DOMParser} from "prosemirror-model";
@ -22,6 +23,7 @@ class ProseMirrorView {
plugins: [
...exampleSetup({schema, menuBar: false}),
menu,
tableEditing(),
]
}),
nodeViews,