UNPKG

@omnia/fx

Version:

Provide Omnia Fx typings and tooling for clientside Omnia development.

7 lines (6 loc) 528 B
import { Transaction } from "prosemirror-state"; import { Schema } from "prosemirror-model"; export declare function setEmptyNodeProperties(tr: Transaction, from: number, to: number): Transaction; export declare function setEmptyMarks(tr: Transaction, schema: Schema, from: number, to: number): Transaction; export declare function setEmptyNodes(tr: Transaction, schema: Schema, from: number, to: number): Transaction; export declare function clearFormat(tr: Transaction, schema: Schema, from: number, to: number): Transaction;