@atlaskit/editor-plugin-status
Version:
Status plugin for @atlaskit/editor-core
29 lines (28 loc) • 639 B
TypeScript
import type { IntlShape } from 'react-intl';
import type { Node as PMNode } from '@atlaskit/editor-prosemirror/model';
import type { NodeView } from '@atlaskit/editor-prosemirror/view';
/**
*
*/
export declare class StatusNodeView implements NodeView {
dom: Node;
domElement: HTMLElement | undefined;
private box;
private textContainer;
private node;
private intl;
/**
*
* @param node
* @param intl
* @example
*/
constructor(node: PMNode, intl: IntlShape);
private setPlaceholder;
/**
*
* @param node
* @example
*/
update(node: PMNode): boolean;
}