Category "word-web-addins"

OfficeJs - How to display modal dialog

I am using OfficeJs to create word add-in. In that i want to show modal dialog on click on ribbon button. I have used below API Office.context.ui.displayDialogA

Getting text from the pointer till the end of the document in JS Word api

How can i get the text in range from the current location of the cursor till the end of the file? I use JavaScript Word api.