Pathfinder 1e for Foundry VTT
    Preparing search index...

    Function restoreEditState

    • Internal Experimental

      Restore edit state

      Parameters

      • sheet: FormApplication<any, Options>

        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.