* Api: Enable d-n-d into HtmlArea

This commit is contained in:
Hadi Nategh
2019-09-30 17:22:18 +02:00
parent 5dcf1e842f
commit a69d24ee66
2 changed files with 5 additions and 2 deletions

View File

@ -268,7 +268,7 @@ app.classes.mail = AppJS.extend(
textAreaWidget.tinymce.then(()=>{
that.compose_resizeHandler();
jQuery(textAreaWidget.editor.iframeElement.contentWindow.document).on('dragenter', function(){
jQuery('#mail-compose').addClass('dragover');
// anything to bind on tinymce iframe
});
});
}