You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to interact with my document editor and invoke the editor's global search function. How can I use the callCommon or executeMethod method to achieve this requirement?
the code doesn't work
this.connector.callCommand(function() {
var oDocument = Api.GetDocument();
var aSearch = oDocument.Search("xxx"); // xxx is someting to search
aSearch[0].SetBold(true);
}, function() { console.log("callback command"); });
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I want to interact with my document editor and invoke the editor's global search function. How can I use the callCommon or executeMethod method to achieve this requirement?
the code doesn't work
Beta Was this translation helpful? Give feedback.
All reactions