fix entering new smart anotations

This commit is contained in:
Mojca Lorber 2017-01-26 13:50:32 +01:00
parent 042a85af45
commit 13d1cc5171

View file

@ -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;
}