@atlaskit/editor-plugin-table
Version:
Table plugin for the @atlaskit/editor
11 lines (10 loc) • 402 B
TypeScript
import type { Dispatch } from '@atlaskit/editor-common/event-dispatcher';
import { SafePlugin } from '@atlaskit/editor-common/safe-plugin';
interface TableLocalIdPluginState {
parsedForLocalIds: boolean;
}
/**
* Ensures uniqueness of `localId`s on tables being created or edited
*/
declare const createPlugin: (dispatch: Dispatch) => SafePlugin<TableLocalIdPluginState>;
export { createPlugin };