1 | import type { NextEditorPlugin } from '@atlaskit/editor-common/types';
|
2 | import type { InsertBlockPluginDependencies } from './types';
|
3 | export interface InsertBlockOptions {
|
4 | allowTables?: boolean;
|
5 | allowExpand?: boolean;
|
6 | insertMenuItems?: any;
|
7 | horizontalRuleEnabled?: boolean;
|
8 | nativeStatusSupported?: boolean;
|
9 | replacePlusMenuWithElementBrowser?: boolean;
|
10 | showElementBrowserLink?: boolean;
|
11 | tableSelectorSupported?: boolean;
|
12 | }
|
13 | export type InsertBlockPlugin = NextEditorPlugin<'insertBlock', {
|
14 | pluginConfiguration: InsertBlockOptions | undefined;
|
15 | dependencies: InsertBlockPluginDependencies;
|
16 | actions: {
|
17 | toggleAdditionalMenu: () => void;
|
18 | };
|
19 | }>;
|
20 | export declare const insertBlockPlugin: InsertBlockPlugin;
|