json-joy
Version:
Collection of libraries for building collaborative editing apps.
13 lines (12 loc) • 453 B
TypeScript
import type { PeritextPlugin } from '../../web/react/types';
/**
* Plugin which renders the main cursor and all other current user local
* cursors.
*/
export declare class CursorPlugin implements PeritextPlugin {
readonly caret: PeritextPlugin['caret'];
readonly focus: PeritextPlugin['focus'];
readonly anchor: PeritextPlugin['anchor'];
readonly inline: PeritextPlugin['inline'];
readonly peritext: PeritextPlugin['peritext'];
}