Open capricornstone opened 4 years ago
@askonev Please take a look
Can Api.asc_findText(sometext, true, true); works in the view mode?or some other findText method can works in the view mode? thanks.
Hello @capricornstone! We apologize for the long wait. Your problem is related to the fact that "view mode" is blocking the method you used.
A task 47709 has been created to discuss the solution to this problem.
Hello, I wrote a plugin which can find text in the document editor, code like this: ... Asc.scope.text="sometext"; window.Asc.plugin.callCommand(function() { Api.asc_findText(Asc.scope.text, true, true); }, true); ... when I open a docx file, it only works in the edit mode, does not works in the view mode when I open a pdf file in the document editor, the plugin code does not work in both modes