Preview: dropcursor.d.ts
Size: 799 B
/proc/thread-self/root/home/byroehnu/.trash/node_modules11/@tiptap/extension-dropcursor/dist/dropcursor.d.ts
import { Extension } from '@tiptap/core';
export interface DropcursorOptions {
/**
* The color of the drop cursor
* @default 'currentColor'
* @example 'red'
*/
color: string | undefined;
/**
* The width of the drop cursor
* @default 1
* @example 2
*/
width: number | undefined;
/**
* The class of the drop cursor
* @default undefined
* @example 'drop-cursor'
*/
class: string | undefined;
}
/**
* This extension allows you to add a drop cursor to your editor.
* A drop cursor is a line that appears when you drag and drop content
* inbetween nodes.
* @see https://tiptap.dev/api/extensions/dropcursor
*/
export declare const Dropcursor: Extension<DropcursorOptions, any>;
//# sourceMappingURL=dropcursor.d.ts.map
Directory Contents
Dirs: 0 × Files: 10