UNPKG

@atlaskit/editor-plugin-image-upload

Version:

Image upload plugin for @atlaskit/editor-core

5 lines (4 loc) 403 B
import { SafePlugin } from '@atlaskit/editor-common/safe-plugin'; import type { PMPluginFactoryParams } from '@atlaskit/editor-common/types'; import type { ImageUploadPluginState, UploadHandlerReference } from '../types'; export declare const createPlugin: (uploadHandlerReference: UploadHandlerReference) => ({ dispatch, providerFactory }: PMPluginFactoryParams) => SafePlugin<ImageUploadPluginState>;