An abstract class for building a ProseMirror Plugin.
The schema to build the plugin against.
Private
#blockPrivate
#orderedPrivate
#bulletPrivate
#codePrivate
#headingPrivate
Turns a number of # characters followed by a space at the start of a textblock into a heading up to a maximum level.
The minimum heading level to start generating input rules for.
The maximum number of heading levels.
Private
#hrStatic
buildBuild the plugin.
The ProseMirror schema to build the plugin against.
Optional
options: { Additional options to pass to the plugin.
The 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.
Static
Private
#em
A class responsible for building the input rules for the ProseMirror editor.