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

Added image resizing via drag handles

This commit is contained in:
Dan Brown
2022-01-17 17:43:16 +00:00
parent 7622106665
commit 7125530e55
8 changed files with 324 additions and 6 deletions

View File

@ -6,6 +6,7 @@ import {DOMParser, DOMSerializer} from "prosemirror-model";
import schema from "./schema";
import menu from "./menu";
import nodeViews from "./node-views";
class ProseMirrorView {
constructor(target, content) {
@ -21,7 +22,8 @@ class ProseMirrorView {
...exampleSetup({schema, menuBar: false}),
menu,
]
})
}),
nodeViews,
});
}