@atlaskit/editor-plugin-insert-block
Version:
Insert block plugin for @atlaskit/editor-core
11 lines (10 loc) • 482 B
TypeScript
import type { NextEditorPlugin } from '@atlaskit/editor-common/types';
import type { InsertBlockPluginOptions, InsertBlockPluginDependencies, InsertBlockPluginState } from './types';
export type InsertBlockPlugin = NextEditorPlugin<'insertBlock', {
actions: {
toggleAdditionalMenu: () => void;
};
dependencies: InsertBlockPluginDependencies;
pluginConfiguration: InsertBlockPluginOptions | undefined;
sharedState: InsertBlockPluginState | undefined;
}>;