mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-12-27 10:14:17 +08:00
Fix smart annotation for autosave
This commit is contained in:
parent
18b31875bb
commit
2d4104b0f2
1 changed files with 1 additions and 0 deletions
1
app/assets/javascripts/sitewide/tiny_mce.js
vendored
1
app/assets/javascripts/sitewide/tiny_mce.js
vendored
|
@ -315,6 +315,7 @@ var TinyMCE = (function() {
|
|||
});
|
||||
|
||||
editor.on('blur', function(e) {
|
||||
if ($('.atwho-view:visible').length) return false;
|
||||
setTimeout(() => {
|
||||
if (editor.isNotDirty === false) {
|
||||
$(editor.container).find('.tinymce-save-button').click();
|
||||
|
|
Loading…
Reference in a new issue