Skip to content

EditorView.plugin method

EditorView › plugin

Official

Get the value of a specific plugin, if present.

Signature:

plugin(plugin: ViewPlugin<T, any>): null | T

Parameters:

ParameterTypeDescription
pluginViewPlugin<T, any>The view plugin.

Returns: null | TThe plugin value, or null.