Press n or j to go to the next uncovered block, b, p or k for the previous block.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | 44x 44x 44x 44x 44x 44x 44x 44x 276x | import {ExtensionId} from '../constants'; import {QuillDeltaNode} from './QuillDeltaNode'; import {QuillDeltaApi} from './QuillDeltaApi'; import {MNEMONIC} from './constants'; import {Extension} from '../../json-crdt/extensions/Extension'; import {SCHEMA} from '../peritext/constants'; import type {QuillDataNode} from './types'; export {QuillDeltaNode, QuillDeltaApi}; export const quill = new Extension<ExtensionId.quill, QuillDataNode, QuillDeltaNode, QuillDeltaApi, [text: string]>( ExtensionId.quill, MNEMONIC, QuillDeltaNode, QuillDeltaApi, (text: string) => SCHEMA(text), ); |