UNPKG

@omnia/fx

Version:

Provide Omnia Fx typings and tooling for clientside Omnia development.

10 lines (9 loc) 438 B
import { Transaction } from "prosemirror-state"; import { Schema } from "prosemirror-model"; import { EditorExtension } from "../../EditorExtension"; export default class FormatClear extends EditorExtension { plugins: any[]; get name(): string; commands(): (context: any) => (state: any, dispatch: any) => boolean; } export declare function clearFormat(tr: Transaction, schema: Schema, from: number, to: number): Transaction;