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

    HTML Editor

    Generic HTML text editor.

    Hierarchy

    • DocumentSheetV2
      • HTMLEditor
    Index

    Constructors

    • Parameters

      • Optionaloptions: {}

      Returns HTMLEditor

    Properties

    DEFAULT_OPTIONS: {
        classes: string[];
        form: { closeOnSubmit: boolean; submitOnChange: boolean };
        id: string;
        position: { height: number; width: number };
        sheetConfig: boolean;
        tag: string;
        window: { icon: string; minimizable: boolean; resizable: boolean };
    } = ...

    Accessors

    • get promise(): Promise<any>

      Returns Promise<any>

    Methods

    • Parameters

      • options: any

      Returns undefined | false

    • Parameters

      • options: any

      Returns any

    • Parameters

      • options: any

      Returns void

    • Returns { content: unknown; editable: boolean; path: any }

    • Parameters

      • event: any
      • form: any
      • submitData: any

      Returns void

    • Parameters

      • context: any
      • _options: any

      Returns Promise<HTMLElement | HTMLCollection>

    • Parameters

      • result: any
      • content: any
      • _options: any

      Returns void

    • Wait for edit

      Parameters

      • options: Document<any, any, null> = {}

        Options

        • document
        • path

          Path to the value

      Returns Promise<string | void>