capricornstone

Results 6 comments of capricornstone

version is 6.3.0.111,document.permissions.edit is false,Any search function is invalid,e.g window.Asc.plugin.callCommand(function() { Api.asc_findText(Asc.scope.text,true,true); }, false);

https://github.com/ONLYOFFICE/sdkjs/blob/v6.3.0.111/word/api.js line 3018 when document.permissions.edit is true,method asc_findText is valid

when DocumentServer's config : document.permissions.edit=false,the macros script in the plugin or the method searchandreplace doesn't seem to work, Is there any way to implement search method where DocumentServer's config:document.permissions.edit= false...

I want to achieve the following functions: Word documents are read-only and cannot be modified by users. There is an input text box and a search button outside the OnlyOffice...

In fact, I also need this function: there are some designated keywords behind the text input box outside the onlyoffice editor. Clicking on the keywords will locate the designated position...

Can Api.asc_findText(sometext, true, true); works in the view mode?or some other findText method can works in the view mode? thanks.