Activate TinyMCE on click, to fix Interact blocking 2nd and further

focus events
This commit is contained in:
Tautvidas Sipavičius
2016-09-23 15:07:04 +03:00
parent 52bf24b6db
commit fa04173cfb
3 changed files with 28 additions and 0 deletions

View File

@@ -69,6 +69,10 @@ define([
that.model.set('text', editor.getContent());
});
editor.on('click', function(e) {
editor.focus();
});
editor.on('focus', function(e) {
that.disableDragging();
that.disableShowingTools();