Javascript: DocumentEditorSettings.contextMenusEnabled Property
Description
Optional. Sets whether a right click opens a context menu or not.
Syntax
<boolean> DocumentEditorSettings.contextMenusEnabledExamples
The following example demonstrates DocumentEditorSettings.contextMenusEnabled in a practical document-editing workflow. Optional. Sets whether a right click opens a context menu or not.
function inspectContextMenusEnabled(documentEditorSettings) {
const contextMenusEnabled = documentEditorSettings.contextMenusEnabled;
console.log("context menus enabled:", contextMenusEnabled);
}