UNPKG

@atlaskit/editor-plugin-expand

Version:

Expand plugin for @atlaskit/editor-core

5 lines (4 loc) 335 B
import type { EditorState } from '@atlaskit/editor-prosemirror/state'; import { findParentNodeOfType } from '@atlaskit/editor-prosemirror/utils'; export declare const findSelectedParentExpandNode: (state: EditorState) => ReturnType<ReturnType<typeof findParentNodeOfType>>; export declare const findReplaceExpandDecorations: string[];