I need to implement passing in a string from outside, and the editor will respond by locating the string. What should I do.
Hello @isfifia
Please specify the product that you are using.
Also, specify the scenario of usage, i.e. what kind of string you want to pass to editors and what response you’d like to get.
Hello @isfifia
Do I understand it correctly that you want to perform a search action similar to Search feature (combination CTRL+F
) externally?
Sorry, it took so long to answer you. What I need is a search function similar to ctrl+f. If possible, I hope the scroll bar can scroll to the position of the keyword in a linked manner after I finish searching,
Hello @isfifia
Thanks for elaborating.
Unfortunately, without connector there is no way to implement such scenario from outside.
Please note that the connector is available only for ONLYOFFICE Developer Edition.
Hello, I downloaded the OnlyOffice Developer Edition.
ONLYOFFICE Api Documentation - MoveCursorToContentControl I found the API MoveCursorToContentControl (id, [isBegin]) here, but I don’t know how to obtain the id parameter,Or maybe my research direction is wrong,
I hope you can give me some help
Hello @isfifia
Sorry for the late reply.
For example, you get the Content Control ID
with these plugin methods:
https://api.onlyoffice.com/plugin/executemethod/text/getcurrentcontentcontrolpr
https://api.onlyoffice.com/plugin/executemethod/text/getallcontentcontrols
Since you have Developer Edition trial license now, you can also contact us via onlyofficesupport.zendesk.com to get prompter replies