.. include:: /Includes.rst.txt .. _deprecation-99084-1667981931: =============================================================== Deprecation: #99084 - Make trigger of context menu configurable =============================================================== See :issue:`99084` Description =========== The context menu JavaScript API was adapted to also support opening the menu through the "contextmenu" event type (right click) only. The configuration for the context menu was streamlined and now reflects its purpose. The trigger can now be set to "click" or "contextmenu". Impact ====== Using the deprecated JavaScript API will trigger a warning in the console. Affected installations ====================== All extensions that use the context menu. Migration ========= Replace the trigger :html:`class="t3js-contextmenutrigger"` with :html:`data-contextmenu-trigger="click"`. Prefix all configuration with :html:`data-contextmenu-`. Before ------ .. code-block:: html ... After ----- .. code-block:: html ... .. index:: Backend, JavaScript, NotScanned