diff --git a/app/assets/javascripts/sitewide/tiny_mce.js.erb b/app/assets/javascripts/sitewide/tiny_mce.js.erb index 8a4da317f..63e818ff8 100644 --- a/app/assets/javascripts/sitewide/tiny_mce.js.erb +++ b/app/assets/javascripts/sitewide/tiny_mce.js.erb @@ -63,7 +63,7 @@ var TinyMCE = (function() { initHighlightjsIframe($(this.iframeElement).contents()); }, setup: function(editor) { - editor.on('Change', function(e) { + editor.on('keydown', function(e) { if(e.keyCode == 13 && $(editor.contentDocument.activeElement).atwho('isSelecting')) { return false; }