UNPKG

medium-proeditor

Version:

A powerful & customizable Medium-style rich text editor

11 lines 570 B
import type { Node } from 'prosemirror-model'; import type { Transaction } from 'prosemirror-state'; import { Transform } from 'prosemirror-transform'; /** * Returns a new `Transform` based on all steps of the passed transactions. * @param oldDoc The ProseMirror node to start from. * @param transactions The transactions to combine. * @returns A new `Transform` with all steps of the passed transactions. */ export declare function combineTransactionSteps(oldDoc: Node, transactions: Transaction[]): Transform; //# sourceMappingURL=combineTransactionSteps.d.ts.map