Fix smart annotation for autosave

This commit is contained in:
aignatov-bio 2019-12-02 15:53:42 +01:00
parent 18b31875bb
commit 2d4104b0f2

View file

@ -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();