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

Added in a custom menubar

This is a copy of the ProseMirror/prosemirror-menu repo files
which suggest working from a fork of this.

These changes include the ability to select callouts
from the menubar.
This commit is contained in:
Dan Brown
2022-01-09 16:37:16 +00:00
parent 47c3d4fc0f
commit 9d7174557e
11 changed files with 1193 additions and 7 deletions

View File

@ -1,6 +1,7 @@
import MarkdownView from "./editor/MarkdownView";
import ProseMirrorView from "./editor/ProseMirrorView";
// Next step: https://prosemirror.net/examples/menu/
const place = document.querySelector("#editor");
let view = new ProseMirrorView(place, document.getElementById('content').innerHTML);