mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-10-09 13:28:53 +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());
|
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…
Add table
Reference in a new issue