I am trying to drag drop image from CEP extension. For data transfer from CEP to cpp plugin I am using kTEXTExternalFlavor, with this approach I am able to get the image info and place it into Graphic frame in my custom CustomDragDropTargetFlavorHelper class.
But when I drag the image into text frame, ProcessDragDropCommand method is not executed, even if i return DragDrop::kDropWillCopy in CouldAcceptTypes method. Please suggest me , Is there anything else needs to be done?
you posted in the InDesign user forum.
I think, your question is a InDesign SDK question.
So a moderator would best move this thread over to:
There is also a forum about:
Could you please help me on this ?
Copy link to clipboard
This is a known bug at the moment and is being investigated internally for a possible fix
I run into the same problem: I have a text frame in the background and an image frame in front. When I drag an image from a browser, the text frame is always used as the target. The function
ProcessDragDropCommand for the GraphicFrame is no longer executed. Without text frame in the background it works. Is ther any way ro work around this problem?
Thanks in advance,
When I wrote a drag from browser to InDesign, I had especially hard times with https URLs when the dragged image was wrapped into an <a href>. The culprit was something with Netscape in its name, e.g. kSysFileDataExchHandlerNetscapeHelperBoss is still around. Back then I used a bogus http link instead that I translated on the fly from the drop target (helper) side to perform the download on my own (curl). That code was last touched with CS5, though.