Sign up (with export icon)

ActionsRecorderEntry

Api-interface icon interface

Represents a recorded action entry with context and state information.

Properties

  • Chevron-right icon

    action : string

    The name of the action.

    For example:

    • component.bold:execute Main action for toolbar button bold was executed.
    • commands.bold:execute The bold command was executed.
    • model.applyOperation The low-level operation was applied to the model.
    • observers:paste The paste DOM event was dispatched in the editing root.
    • model.insertContent The model#insertContent() was called.
    • model-selection:change:range The model selection range was changed.
  • Chevron-right icon

    The editor state after the action was executed.

  • The editor state before the action was executed.

  • Chevron-right icon

    error : any | undefined

    The error if the action throws one.

  • Chevron-right icon

    params : Array<any> | undefined

    Params provided for the executed action. They depend on the actual action.

  • Chevron-right icon

    For nested actions this is a reference to parent action (nesting of try-catch blocks).

    For example when user clicks a button in a toolbar it could generate such nested tree:

    • component.bold:execute
      • commands.bold:execute
        • model.applyOperation
  • Chevron-right icon

    result : any | undefined

    The result returned by the executed action. It depends on the actual action.

  • Chevron-right icon

    timeStamp : string

    Entry timestamp in ISO date time format.