mirror of
https://github.com/ONLYOFFICE/onlyoffice.github.io.git
synced 2026-04-07 14:04:30 +08:00
Change how some plugins work in viewer.
This commit is contained in:
@ -2,4 +2,8 @@
|
||||
|
||||
## 1.0.0
|
||||
|
||||
* Initial release.
|
||||
* Initial release.
|
||||
|
||||
## 1.0.1
|
||||
|
||||
* Hide "Insert to document" button for viewer.
|
||||
@ -71,6 +71,9 @@ function getMessage(key) {
|
||||
|
||||
window.Asc.plugin.init = function(text)
|
||||
{
|
||||
if (window.Asc.plugin.info.isViewMode)
|
||||
document.getElementById("paste").classList.add('hidden');
|
||||
|
||||
$('#select_example').select2({
|
||||
minimumResultsForSearch: Infinity,
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user