diff --git a/lib/utils/action.js b/lib/utils/action.js index b18d33b8..460c28fe 100644 --- a/lib/utils/action.js +++ b/lib/utils/action.js @@ -160,7 +160,7 @@ define(function(require, exports, module) { * @returns {Object} */ captureContext: function(editor, pos) { - var allowedSyntaxes = {'html': 1, 'xml': 1, 'xsl': 1}; + var allowedSyntaxes = {'html': 1, 'xml': 1, 'xsl': 1, 'jsx': 1}; var syntax = editor.getSyntax(); if (syntax in allowedSyntaxes) { var content = editor.getContent();