An abstract class for building a ProseMirror Plugin.
The schema to build the plugin against.
Build input rules for node types present in the schema.
Static
buildBuild the plugin.
The ProseMirror schema to build the plugin against.
Optional
options: { minHeadingLevel?: number } = {}Additional options to pass to the plugin.
Optional
minHeadingLevel?: numberThe minimum heading level to start from when generating heading input rules. The resulting heading level for a heading rule is equal to the number of leading hashes minus this number.
A class responsible for building the input rules for the ProseMirror editor.