@atlaskit/editor-plugin-layout
Version:
Layout plugin for @atlaskit/editor-core
7 lines (6 loc) • 634 B
TypeScript
import type { IntlShape } from 'react-intl';
import type { ExtractInjectionAPI, FloatingToolbarConfig } from '@atlaskit/editor-common/types';
import type { EditorState } from '@atlaskit/editor-prosemirror/state';
import type { LayoutPlugin } from '../index';
export declare const layoutToolbarTitle = "Layout floating controls";
export declare const buildToolbar: (state: EditorState, intl: IntlShape, pos: number, _allowBreakout: boolean, addSidebarLayouts: boolean, allowSingleColumnLayout: boolean, allowAdvancedSingleColumnLayout: boolean, api: ExtractInjectionAPI<LayoutPlugin> | undefined) => FloatingToolbarConfig | undefined;