defines whether the default context menu is shown or specifies its configuration
webix.ui({
view: "editor",
value: "<p>Some text</p>",
contextMenu: true,
upload: "https://docs.webix.com/editor-backend/images"
});
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;