An abstract class for building a ProseMirror Plugin.
The schema to build the plugin against.
StatickeyA unique key for this plugin that can be used to identify a plugin instance in any given editor.
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.