fvtt-types
Version:
TypeScript type definitions for Foundry VTT
14 lines (11 loc) • 441 B
text/typescript
import type { Schema } from "prosemirror-model";
import type { Plugin } from "prosemirror-state";
import type ProseMirrorPlugin from "./plugin.d.mts";
import type { AnyObject } from "#utils";
export default ProseMirrorDirtyPlugin;
/**
* A simple plugin that records the dirty state of the editor.
*/
declare class ProseMirrorDirtyPlugin extends ProseMirrorPlugin {
static override build(schema: Schema, options?: AnyObject): Plugin;
}