MCPcopy
hub / github.com/slab/quill / getEditorDelta

Function getEditorDelta

packages/quill/test/unit/core/editor.spec.ts:1079–1083  ·  view source on GitHub ↗
(modify: (editor: Editor) => void)

Source from the content-addressed store, hash-verified

1077
1078 describe('invalid delta', () => {
1079 const getEditorDelta = (modify: (editor: Editor) => void) => {
1080 const editor = createEditor(`<p></p>`);
1081 modify(editor);
1082 return editor.getDelta().ops;
1083 };
1084
1085 test('conflict block formats', () => {
1086 const change = new Delta()

Callers 1

editor.spec.tsFile · 0.85

Calls 3

createEditorFunction · 0.85
modifyFunction · 0.85
getDeltaMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…