mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-01-01 05:02:50 +08:00
Merge pull request #455 from mlorb/ml_sci_944
Fix entering new smart anotations [SCI-944]
This commit is contained in:
commit
3e6d11a087
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue