UNPKG

@atlaskit/editor-plugin-code-block-advanced

Version:

CodeBlockAdvanced plugin for @atlaskit/editor-core

14 lines (13 loc) 569 B
import type { Extension } from '@codemirror/state'; import type { IntlShape } from 'react-intl'; import { SafePlugin } from '@atlaskit/editor-common/safe-plugin'; import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types'; import type { CodeBlockAdvancedPlugin } from '../codeBlockAdvancedPluginType'; interface Props { allowCodeFolding: boolean; api: ExtractInjectionAPI<CodeBlockAdvancedPlugin> | undefined; extensions: Extension[]; getIntl: () => IntlShape; } export declare const createPlugin: (props: Props) => SafePlugin; export {};