mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-01-01 05:02:50 +08:00
fix entering new smart anotations
This commit is contained in:
parent
042a85af45
commit
13d1cc5171
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