Elementor 开发者文档

title: "Context Menu Types" post_status: publish comment_status: open taxonomy: category: - elementor-developers-docs post_tag: - Context Menu - Src - Repos


Context Menu Types

Elementor has several types of context menus based on the selected location or element. To open a context menu the user needs to right click an element or location. As different elements have different functionalities, each menu lists different action items. When modifying an action, developers must indicate which element the action should be applied to.

Available Types

Elementor has 3 main context menu types:

  1. Element, consisting of:
  2. Section elements
  3. Column elements
  4. Widget elements
  5. Empty column elements
  6. "Add new section / template"

Element context menus (section, column and widget) are the most common. They cover the vast majority of users' and developers' needs. The other two types are specific use-cases, displaying only actions relevant to those cases. We won't be covering them as they are internal use-cases and have no filter hooks allowing you to modify them.

Different Context Menus

Each element has its own set of actions as seen below:

Section

Section Context Menu

Column

Column Context Menu

Widget

Widget Context Menu

Add new section / template

Context menu for add new section / template