sdkjs-plugins icon indicating copy to clipboard operation
sdkjs-plugins copied to clipboard

How to interact with my document editor and invoke the editor's global search function.

Open THL1234 opened this issue 1 year ago • 0 comments

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"); });

image

THL1234 avatar Mar 20 '23 07:03 THL1234