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"); });
The text was updated successfully, but these errors were encountered:
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"); });
The text was updated successfully, but these errors were encountered: