clearContextMenu

Availability: >= 3.0

Type: Object Method

Description: Empties the context menu. If no context menu is set then the browser default context menu is used. (Note users can always access the browser's default context menu by holding down the alt key while bringing up the context menu.)

Syntax:

$editor->clearContextMenu();

See also:

contextMenu, addContextMenuItem, removeContextMenuItem