Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
THL1234 opened this issue Mar 20, 2023 · 0 comments
Assignees

Comments

@THL1234
Copy link

THL1234 commented Mar 20, 2023

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

@askonev askonev self-assigned this Oct 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants