UNPKG

@atlaskit/editor-common

Version:

A package that contains common classes and components for editor and renderer

14 lines (13 loc) 536 B
import type { Node } from '@atlaskit/editor-prosemirror/model'; import type { EditorContainerWidth, NextEditorPlugin, PublicPluginAPI } from '../types'; type WidthPluginType = NextEditorPlugin<'width', { sharedState: EditorContainerWidth | undefined; }>; export type ExtensionsPluginInjectionAPI = PublicPluginAPI<[ WidthPluginType ]> | undefined; export type MacroInteractionDesignFeatureFlags = { showMacroInteractionDesignUpdates?: boolean; }; export type GetPMNodeHeight = (node: Node) => string | undefined; export {};