创高项目初始化
This commit is contained in:
26
client/node_modules/quill/blots/cursor.d.ts
generated
vendored
Normal file
26
client/node_modules/quill/blots/cursor.d.ts
generated
vendored
Normal file
@@ -0,0 +1,26 @@
|
||||
import { EmbedBlot } from 'parchment';
|
||||
import type { ScrollBlot } from 'parchment';
|
||||
import type Selection from '../core/selection.js';
|
||||
import type { EmbedContextRange } from './embed.js';
|
||||
declare class Cursor extends EmbedBlot {
|
||||
static blotName: string;
|
||||
static className: string;
|
||||
static tagName: string;
|
||||
static CONTENTS: string;
|
||||
static value(): undefined;
|
||||
selection: Selection;
|
||||
textNode: Text;
|
||||
savedLength: number;
|
||||
constructor(scroll: ScrollBlot, domNode: HTMLElement, selection: Selection);
|
||||
detach(): void;
|
||||
format(name: string, value: unknown): void;
|
||||
index(node: Node, offset: number): number;
|
||||
length(): number;
|
||||
position(): [Text, number];
|
||||
remove(): void;
|
||||
restore(): EmbedContextRange | null;
|
||||
update(mutations: MutationRecord[], context: Record<string, unknown>): void;
|
||||
optimize(context?: unknown): void;
|
||||
value(): string;
|
||||
}
|
||||
export default Cursor;
|
||||
Reference in New Issue
Block a user