Custom external flavours on Mac doesn't work


i did create simple site single draggable element ondrag function below:

function drag(ev) {

  ev.datatransfer.setdata("text", ev.target.id);

}

 

in indesign plugin wrote custom flavour helper class , overrided couldaccepttypes function. when draggin element site , dropping indesign couldaccepttypes function getting invoked , can access mime type "text". when change mime type custom 1 couldaccepttypes function never invoked on mac. instance:

function drag(ev) {

  ev.datatransfer.setdata("mycustommimetype", ev.target.id);

}

 

on windows works fine. tried add standard mime type custom mim too:

function drag(ev) {

  ev.datatransfer.setdata("text", ev.target.id);

  ev.datatransfer.setdata("mycustommimetype", ev.target.id);

}

 

after couldaccepttypes invoked can find "text" flavour, nothing else. on windows both flavours.

 

could point me way handle custom external flavours in indesign on mac if possible. thanks!



More discussions in InDesign SDK


adobe

Comments

Popular posts from this blog

Illustrator CS6 Ocurrío un error E/S en el archivo.

Why is os_ViewContainer running?

Animate - problem with duplicating scripts after loop