medium-proeditor
Version:
A powerful & customizable Medium-style rich text editor
21 lines • 599 B
TypeScript
import type { EditorView } from 'prosemirror-view';
export declare class DragHandler {
private editorView;
private dropCursor;
private isFirefox;
private dragFigure;
private dragPlaceholder;
private boundHandlers;
constructor(editorView: EditorView);
private handleDragStart;
private handleDragEnd;
private getClosestChild;
private findClosestChild;
private resolveDropTarget;
private handleDragOver;
private updateDropCursor;
private hideDropCursor;
private handleDrop;
destroy(): void;
}
//# sourceMappingURL=dragHandler.d.ts.map