diff --git a/src/js/JSONEditor.js b/src/js/JSONEditor.js
index <HASH>..<HASH> 100644
--- a/src/js/JSONEditor.js
+++ b/src/js/JSONEditor.js
@@ -173,7 +173,7 @@ JSONEditor.VALID_OPTIONS = [
   'ajv', 'schema', 'schemaRefs','templates',
   'ace', 'theme', 'autocomplete',
   'onChange', 'onChangeJSON', 'onChangeText',
-  'onEditable', 'onError', 'onEvent', 'onModeChange', 'onNodeName', 'onValidate',
+  'onEditable', 'onError', 'onEvent', 'onModeChange', 'onNodeName', 'onValidate', 'onCreateMenu',
   'onSelectionChange', 'onTextSelectionChange', 'onClassName',
   'colorPicker', 'onColorPicker',
   'timestampTag',
Add onCreateMenu as valid option