json-joy
Version:
Collection of libraries for building collaborative editing apps.
6 lines (5 loc) • 513 B
TypeScript
import type { OverlayPoint } from '../peritext/overlay/OverlayPoint';
import type { QuillDeltaAttributes } from './types';
export declare const getAttributes: (overlayPoint: OverlayPoint) => QuillDeltaAttributes | undefined;
export declare const removeErasures: (attr: QuillDeltaAttributes | undefined) => QuillDeltaAttributes | undefined;
export declare const diffAttributes: (oldAttributes: QuillDeltaAttributes | undefined, newAttributes: QuillDeltaAttributes | undefined) => QuillDeltaAttributes | undefined;