Skip to content

Commit

Permalink
fix : Enable post button after inserting draged or pasted image on th…
Browse files Browse the repository at this point in the history
…e news body - EXO-66290
  • Loading branch information
sofyenne committed Sep 22, 2023
1 parent 9a60e65 commit c6a5842
Showing 1 changed file with 4 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -666,12 +666,10 @@ export default {
self.news.body = evt.editor.getData();
self.autoSave();
},
drop: function (evt) {
window.setTimeout(() => {
self.news.body = evt.editor.getData();
self.autoSave();
}, 1000);
}
afterInsertHtml: function (evt) {
self.news.body = evt.editor.getData();
self.autoSave();
},
}
});
},
Expand Down

0 comments on commit c6a5842

Please sign in to comment.