Skip to content

Commit

Permalink
Fixed issue with hardcoded text areas
Browse files Browse the repository at this point in the history
  • Loading branch information
Syxton committed Sep 12, 2017
1 parent 7f26e1f commit 07c42f8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tinymce/sketch.html
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,8 @@
// Only handle the event if an image file was dropped in.
var handlesDataTransfer = (sketchimage && sketchimage.size && sketchimage.type == 'image/png');
if (handlesDataTransfer) {
var options = parent.M.editor_tinymce.filepicker_options['id_summary_editor'].image,
var host = parent.tinyMCE.activeEditor.editorId,
options = parent.M.editor_tinymce.filepicker_options[host].image,
savepath = (options.savepath === undefined) ? '/' : options.savepath,
formData = new FormData(),
timestamp = 0,
Expand Down

0 comments on commit 07c42f8

Please sign in to comment.