contextMenu

defines whether the default context menu is shown or specifies its configuration

boolean|array contextMenu;

Example

webix.ui({
    view: "editor",
    value: "<p>Some text</p>",
    contextMenu: true,
    upload: "https://docs.webix.com/editor-backend/images"
});


Default value:

false
Details

You can use the default set of context menu options, render particular options, or specify some custom options. Check the related section.

As contextMenu is a reactive property, you can also access and alter it via the widget state:

// enabling the context menu
$$("editor").getState().contextMenu = true;
See also
Back to top