first commit

This commit is contained in:
Beyhan Oğur
2026-04-26 21:33:39 +03:00
commit 4362c3b83f
1991 changed files with 285411 additions and 0 deletions

18
public/assets/quill/blots/embed.d.ts vendored Normal file
View File

@@ -0,0 +1,18 @@
import type { ScrollBlot } from 'parchment';
import { EmbedBlot } from 'parchment';
export interface EmbedContextRange {
startNode: Node | Text;
startOffset: number;
endNode?: Node | Text;
endOffset?: number;
}
declare class Embed extends EmbedBlot {
contentNode: HTMLSpanElement;
leftGuard: Text;
rightGuard: Text;
constructor(scroll: ScrollBlot, node: Node);
index(node: Node, offset: number): number;
restore(node: Text): EmbedContextRange | null;
update(mutations: MutationRecord[], context: Record<string, unknown>): void;
}
export default Embed;