@atlaskit/editor-plugin-card
Version:
Card plugin for @atlaskit/editor-core
6 lines (5 loc) • 493 B
TypeScript
import { SafePlugin } from '@atlaskit/editor-common/safe-plugin';
import type { ExtractInjectionAPI, PMPluginFactoryParams } from '@atlaskit/editor-common/types';
import type { cardPlugin } from '../index';
import type { CardPluginOptions, CardPluginState } from '../types';
export declare const createPlugin: (options: CardPluginOptions, pluginInjectionApi: ExtractInjectionAPI<typeof cardPlugin> | undefined) => (pmPluginFactoryParams: PMPluginFactoryParams) => SafePlugin<CardPluginState>;