Questions tagged [office-js-ux]

4 questions
2
votes
0 answers

Navigating the UI to unique keyword(string, paragraph) in MS Word document using Javascript

I'm receiving the string with preferred location from backend to achieve uniqueness. Please help me out with this using word API. Using this approach, i am able to search doc, but result is not unique and UI is also not navigating to the…
1
vote
1 answer

React Router in office JS excel causes white page

I am trying to develop addins for Excel with TypeScript and React but the road to success is more than cumbersome because the Office addin does behave diffferently than a CRA React boilerplate web application. I have created a Yo Office typescript…
g00golplex
  • 397
  • 1
  • 6
  • 17
0
votes
1 answer

How can I detect a content control without the user selecting the whole thing?

Background I've inserted a bunch of content controls into my word document. Each content control is a bit of text e.g. "Hello world". What I'm trying to do When a user puts their cursor within the content control I want to access the details of the…
0
votes
1 answer

Excel: How to determine if a cell is in edit mode prior to running context.sync()

an add in I'm developing is having issues with context.sync failing when a cell is in editing mode. I would like to use delayForCellEdit in Excel.Run but it would cause the UI to hang until the user exits edit mode. Is there a method to determine if…
Space Bear
  • 755
  • 1
  • 6
  • 18