OptionaldecorationsAllow the plugin to provide decorations. When given, this should be a function that take the plugin value and return a decoration set. See also the caveat about layout-changing decorations that depend on the view.
OptionaleventRegister the given event
handlers for the plugin.
When called, these will have their this bound to the plugin
value.
OptionaleventRegisters event observers
for the plugin. Will, when called, have their this bound to
the plugin value.
OptionalprovideSpecify that the plugin provides additional extensions when added to an editor configuration.
Provides additional information when defining a view plugin.