mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-07-28 17:02:04 +03:00
Added jsdoc types for prosemirror
Also added link markdown handling when target is set.
This commit is contained in:
@ -3,9 +3,10 @@ import {Schema} from "prosemirror-model";
|
||||
import nodes from "./schema-nodes";
|
||||
import marks from "./schema-marks";
|
||||
|
||||
const index = new Schema({
|
||||
/** @var {PmSchema} schema */
|
||||
const schema = new Schema({
|
||||
nodes,
|
||||
marks,
|
||||
});
|
||||
|
||||
export default index;
|
||||
export default schema;
|
Reference in New Issue
Block a user