• Internal Experimental

    Restore edit state

    Parameters

    • sheet: FormApplication<FormApplicationOptions, Data<{}, FormApplicationOptions>, {}>

      Application to work with

    • context: object

      Context from which to fetch current data

    Returns object

    • Editor toggled state mapping
    • Must be combined with ()
    • Should use context.prefix.path.to.data to set toggled state so the editor is automatically in edit mode.
    • Prefix defaults to _editorState for the above path.