UNPKG

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

Version:

CodeBlockAdvanced plugin for @atlaskit/editor-core

14 lines (13 loc) 600 B
import type { Extension } from '@codemirror/state'; import type { IntlShape } from 'react-intl'; import type { NodeViewConstructor } from '@atlaskit/editor-common/lazy-node-view'; 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 lazyCodeBlockView: (props: Props) => NodeViewConstructor; export {};