Skip to content

createHoverPlugin

createHoverPlugin(options?): EditorPlugin

The one hover per view and the command that summons it from the caret. Participants register through EDITOR_HOVER_PARTICIPANT; this plugin has no content of its own. An editor installs it by itself once a participant registers (see hoverToken.ts); a test with a hand-made view context installs it directly.

HoverPluginOptions

EditorPlugin