@atlaskit/editor-plugin-interactivity
Version:
Interactivity plugin for @atlaskit/editor-core
12 lines (11 loc) • 589 B
TypeScript
import type { InteractivityPlugin } from './interactivityPluginType';
/**
* Reports session-to-date interaction latency distributions for full page editor sessions
* as the `editor interactivity` operational event.
*
* The session runs for as long as the plugin's hook stays mounted, which is one editor
* mount: `MountPluginHooks` in editor-core keys hook fibers by plugin name, so a preset
* reconfigure — which destroys and recreates ProseMirror plugin views — leaves this hook,
* and the session, in place.
*/
export declare const interactivityPlugin: InteractivityPlugin;