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:

Parameter Type Description
plugin ViewPlugin<T, any> The view plugin.

Returns: null | TThe plugin value, or null.