mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-01-04 06:36:27 +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());
|
initHighlightjsIframe($(this.iframeElement).contents());
|
||||||
},
|
},
|
||||||
setup: function(editor) {
|
setup: function(editor) {
|
||||||
editor.on('Change', function(e) {
|
editor.on('keydown', function(e) {
|
||||||
if(e.keyCode == 13 && $(editor.contentDocument.activeElement).atwho('isSelecting')) {
|
if(e.keyCode == 13 && $(editor.contentDocument.activeElement).atwho('isSelecting')) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue