Body, Mind & Soul — API Reference
    Preparing search index...

    Function attachCopyUuidJsonOverride

    • Intercepts shift-clicks on the "Copy UUID" header button to copy the document's full JSON instead.

      On shift-click (primary button, detail=1), copies the document's full toObject() export as pretty-printed JSON to the clipboard. Non-shift clicks pass through to core's standard UUID-copy behavior.

      Attached via renderDocumentSheetV2 hook to run on every BMS and core document sheet render.

      Parameters

      • app: DocumentSheetV2

        The rendered sheet application

      • element: HTMLElement

        The sheet's root DOM element

      Returns void