6

I am creating an online office add-in for the Word application. I have created an HTML page with some fields like, Name, Address, Mobile etc. On drag and drop of such a field I want to create a MergeField in Word Document.

I have done R&D regarding drag and drop but I am not able to find how to control a drop event outside of the container.

Is there any way to fulfill my requirement?

Cindy Meister
  • 25,071
  • 21
  • 34
  • 43
Pratik Ratanpara
  • 338
  • 2
  • 15

1 Answers1

4

Due to browser limitations we don’t currently support drag and drop from the taskpane to the word surface.

But what many developers have implemented is a ‘+’ button to add items into the document, or other sorts of events like dbl click.

Juan Balmori
  • 4,898
  • 1
  • 8
  • 17