• 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.

    getProseMirrorMenuDropDowns

    Parameters

    • menu: ProseMirrorMenu

      The ProseMirrorMenu instance.

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

      The drop-down config.

      • format: ProseMirrorDropDownConfig
      • fonts: ProseMirrorDropDownConfig

    Returns void