UNPKG

@atlaskit/editor-plugin-synced-block

Version:

SyncedBlock plugin for @atlaskit/editor-core

13 lines (12 loc) 662 B
import type { QuickInsertItem } from '@atlaskit/editor-common/provider-factory'; import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types'; import type { SyncBlockStoreManager } from '@atlaskit/editor-synced-block-provider'; import type { SyncedBlockPlugin } from '../syncedBlockPluginType'; export declare const getQuickInsertConfig: (config: { enableSourceCreation?: boolean; } | undefined, api: ExtractInjectionAPI<SyncedBlockPlugin> | undefined, syncBlockStore: SyncBlockStoreManager) => (({ formatMessage, }: { formatMessage: (message: { defaultMessage: string; id: string; }) => string; }) => QuickInsertItem[]);