How to move cursor to a certain position in the only office doc editor also highlight certain paragraph?

I have list of text available in my right panel. What i want to do is , i want to find a certain text in the doc editor and highlight it and also i want to move the cursor at that position. Is it possible ?

Hello @Kiran :wave:

Thank you for your question! Could you please clarify whether you’re referring to the same functionality discussed in this post: How to highlight specific text without modifying the doc itself??

In that discussion, the focus was on highlighting specific text without altering the document’s actual content. If you’re looking for something similar, let us know!

Hello Nikolas,

Thank you for your response.

I’m working on an Angular application, where I have a variable containing specific text. I want to implement a functionality such that when a button is clicked, the application passes this text to the editor. The editor should then:

  1. Locate the position of the text within the document.
  2. Automatically scroll to the found text.

Additionally, if there’s a way to highlight the text temporarily (without modifying the actual document), that would be a great enhancement.

Looking forward to your guidance on this.

Best regards,