• Preparing search index...
  • The search index is not available
Foundry Virtual Tabletop - API Documentation - Version 13
  • Foundry Virtual Tabletop - API Documentation - Version 13
  • hookEvents
  • getProseMirrorMenuDropDowns

Function getProseMirrorMenuDropDowns

  • getProseMirrorMenuDropDowns(
        menu: ProseMirrorMenu,
        config: {
            fonts: ProseMirrorDropDownConfig;
            format: ProseMirrorDropDownConfig;
        },
    ): void

    A hook even that fires when a ProseMirrorMenu's drop-downs are initialized. The hook provides the ProseMirrorMenu instance and an object of drop-down configuration data. Hooked functions may append their own drop-downs or append entries to existing drop-downs.

    Parameters

    • menu: ProseMirrorMenu

      The ProseMirrorMenu instance.

    • config: { fonts: ProseMirrorDropDownConfig; format: ProseMirrorDropDownConfig }

      The drop-down config.

    Returns void

Settings

Member Visibility
Foundry Virtual Tabletop - API Documentation - Version 13
  • Loading...

Public API documentation for Foundry Virtual Tabletop version 13.346 Stable. © 2025 Foundry Gaming LLC. All Rights Reserved.