prosemirror-utils
Advanced tools
Comparing version 0.9.1 to 0.9.2
{ | ||
"name": "prosemirror-utils", | ||
"version": "0.9.1", | ||
"version": "0.9.2", | ||
"description": "Utils library for ProseMirror", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -142,3 +142,3 @@ import { Node as ProsemirrorNode, Schema, NodeType, Mark, MarkType, ResolvedPos, Fragment } from 'prosemirror-model'; | ||
export function safeInsert(node: ProsemirrorNode | Fragment, position?: number): (tr: Transaction) => Transaction; | ||
export function safeInsert(node: ProsemirrorNode | Fragment, position?: number, tryToReplace?: boolean): (tr: Transaction) => Transaction; | ||
@@ -145,0 +145,0 @@ export function setParentNodeMarkup(nodeType: NodeType | NodeType[], type?: NodeType | null, attrs?: { [key: string]: any } | null, marks?: Mark[]): (tr: Transaction) => Transaction; |
238051