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.
StaticbuildBuild the plugin.
The ProseMirror schema to build the plugin against.
Optionaloptions: { minHeadingLevel?: number } = {}Additional options to pass to the plugin.
OptionalminHeadingLevel?: 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.