@atlaskit/editor-plugin-content-insertion
Version:
Content insertion plugin for @atlaskit/editor-core
8 lines (7 loc) • 436 B
TypeScript
import type { NextEditorPlugin } from '@atlaskit/editor-common/types/next-editor-plugin';
import type { AnalyticsPlugin } from '@atlaskit/editor-plugin-analytics/analyticsPluginType';
import type { InsertNodeAPI } from './types';
export type ContentInsertionDependencies = [AnalyticsPlugin];
export type ContentInsertionPlugin = NextEditorPlugin<'contentInsertion', {
dependencies: ContentInsertionDependencies;
} & InsertNodeAPI>;