REDROOM
PHP 8.2.30
Path:
Logout
Edit File
Size: 994 B
Close
/proc/thread-self/root/home/byroehnu/.trash/node_modules11/@tiptap/extension-dropcursor/src/dropcursor.ts
Text
Base64
import { Extension } from '@tiptap/core' import { dropCursor } from '@tiptap/pm/dropcursor' 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 const Dropcursor = Extension.create<DropcursorOptions>({ name: 'dropCursor', addOptions() { return { color: 'currentColor', width: 1, class: undefined, } }, addProseMirrorPlugins() { return [ dropCursor(this.options), ] }, })
Save
Close
Exit & Reset
Text mode: syntax highlighting auto-detects file type.
Directory Contents
Dirs: 0 × Files: 2
Delete Selected
Select All
Select None
Sort:
Name
Size
Modified
Enable drag-to-move
Name
Size
Perms
Modified
Actions
dropcursor.ts
994 B
lrw-r--r--
2026-02-28 00:28:06
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
index.ts
105 B
lrw-r--r--
2026-02-28 00:28:12
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Zip Selected
If ZipArchive is unavailable, a
.tar
will be created (no compression).