Const
When an action is run, a single draft is always in context and accessible via the draft const. This usually points to the draft loaded in the editor at the time the action was run if running actions from the action list or action bar.
draft
When an action is run, a single draft is always in context and accessible via the
draft
const. This usually points to the draft loaded in the editor at the time the action was run if running actions from the action list or action bar.