Version 10.2.0
New features
- Office API:
- Added the Working with tables guide, which shows how to create tables, move through their rows and cells, read cell text and change the table structure.
- Common:
- Published
robots.txtwith separate rules for each site mode.
- Published
New samples
- Docs API:
- Office API:
Improvements
- Docs API:
- Described the Share & collect button for PDF forms, the
filleroperation type inonRequestUsersandsetUsers, and whenonStartFillingreceives the roles. - Explained that
onRequestStartFillingreceives the form roles indata, that the handler callsstartFillingto lock editing, and that Share & collect needs it only when the page handles the click itself. - Linked the ONLYOFFICE support contact form as the default for
feedback.url. - Updated the How it works, Usage API, Troubleshooting and Standard branding screenshots and UI names for 10.0.
- Allowed string version numbers such as
"1.2"in refreshHistory,setHistoryData,onRequestHistoryDataandonRequestRestore, and madecurrentVersionoptional inrefreshHistory.
- Described the Share & collect button for PDF forms, the
- AI:
- Removed the custom AI tools guide, the AI tools quick start and the AI tool samples, as AI Tools no longer supports adding custom tools.
- Rewrote the AI overview around setting up and using AI Tools.
- Documented the current custom provider file format, based on the template from the editor.
- Updated the AI Tools guides and screenshots for the new name and current editor UI.
- Renamed the AI plugin to AI Tools on the macro pages, in the VBA conversion guide and in
customization.ai, and unified the AI Chat and inline agent terms. - Noted that the old AI plugin is no longer supported and can be installed only in 9.4.
- Linked the Plugins API instead of the AI Tools API on the AI playground page.
- ONLYOFFICE Apps:
- Switched the Plugins SDK samples from the deprecated item
onClickhandler toonItemClick, which takesstring | numberids. - Retook the plugin logo screenshots on the plugin structure page as a matching light and dark pair.
- Switched the Plugins SDK samples from the deprecated item
- Common:
- Wrapped long paths and URLs in inline code across all API table cells.
- Renamed the Support contact form footer link to Contact support and removed the Legacy version link.
- Removed the unused OpenAPI theme, plugin and
openapi/folder. - Pointed the onlyoffice.com links that now redirect straight at the pages they lead to.
- Replaced fixed-width
<img>tags with Markdown images, and cropped the plugin and macro diagram and gave it a descriptive alt text.
- Localization:
- Translated the Create App integration example.
- Synced the zh-CN AI and plugin pages with English and used the zh-CN UI strings on the AI and Docs API pages.
- Linked zh-CN pages to the Chinese onlyoffice.com pages.
- Translated "document key" as 标识符 rather than 密钥, plus the image alt texts and the Stop button in the AI guides.
- Fixed the spacing, UI names and punctuation on the external data pages and in the plugin sample lines.
- Pointed the zh-CN cloud installation signup link at the onlyoffice.com signup page, as on the English page.
Bugfixes
- Fixed the slug of the
ApiWorksheetFunctionINDEX method page. - Fixed the build failing on a clean install because
globwas missing. - Fixed the translation of 提交 issue on the zh-CN plugin versioning page.
- Fixed which
options.cfields are optional and what they default to ininsertImage,setUsersandsetRequestedDocument. - Fixed
setUsersto require a user ID for thefilleroperation. - Fixed the property anchors in the Plugins SDK samples and on the plugin structure page, which pointed at
#onClick?and#fileRowIcon?instead of#onClickand#fileRowIcon. - Fixed the Paragraphs to table macro, which passed the column and row counts to
CreateTablein the wrong order and copied list numbering into the cells. - Fixed the Sort tables macro to compare cell text without the trailing cell and row separators or list numbering.
- Fixed the Remove empty tables macro deleting tables whose cells hold only images or other drawings.