From 2bd4ca67afacdb9f9ddc79c78ca9d0af8eb7767e Mon Sep 17 00:00:00 2001 From: RobAley Date: Sun, 17 Feb 2019 11:12:07 +0000 Subject: [PATCH] Add onCreateMenu as valid option --- src/js/JSONEditor.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/js/JSONEditor.js b/src/js/JSONEditor.js index 8072d69..e9061ee 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',