Trevixal API
    Preparing search index...

    Interface TransactionEvent

    Payload delivered to Editor.onTransaction listeners.

    interface TransactionEvent {
        before: EditorState;
        editor: Editor;
        state: EditorState;
        transaction: Transaction;
    }
    Index
    before: EditorState

    State the transaction was applied to.

    editor: Editor

    State after applying it (=== editor.state at emit time).

    transaction: Transaction