@witchcraft/editor
    Preparing search index...
    OnUpdateDocumentCallback: (
        embedId: DocId,
        tr: Transaction,
        oldEditorState: EditorState,
        newEditorState: EditorState,
        selfSymbol?: symbol,
    ) => void

    Type Declaration

      • (
            embedId: DocId,
            tr: Transaction,
            oldEditorState: EditorState,
            newEditorState: EditorState,
            selfSymbol?: symbol,
        ): void
      • Parameters

        • embedId: DocId
        • tr: Transaction
        • oldEditorState: EditorState
        • newEditorState: EditorState
        • OptionalselfSymbol: symbol

        Returns void