Version 9.3.0
New features
- Docs API:
- Added Comparing documents sample.
- Common:
- Added llms.txt generation: a root index with an Optional section, one file per section, and separate Office API and plugin API indexes for each editor.
Improvements
- Docs API:
- Reworked the React, Angular, and Vue guides around a signed configuration.
- Documented
callCommandand the document key in the frontend framework guides. - Highlighted the callback and key notes in the frontend framework guides.
- Scaffolded the Vue demo with the
--tsflag. - Showed the full nesting of the
angular.jsonandpackage.jsonsnippets in the Angular guide. - Wrapped the Angular method snippets in the
Appclass and highlighted commented JSON asjson5. - Moved the
otherWindowdefinition out of the WOPItargetOriginrow and inlined theCopyPasteRestrictionsvalues. - Replaced hard
<br/>line breaks in the WOPI config table. - Clarified that
setRequestedDocumentcan also be called directly onceonDocumentReadyhas fired, not only from theonRequestSelectDocumenthandler.
- Office API:
- Added Automation API and PDF API to the Get started overview.
- Expanded the main
Apiclass descriptions in the editor API references. - Added Syntax, Parameters and Returns sections to inherited method pages, and shortened method table descriptions to their first sentence.
- Plugins and macros:
- Expanded the custom functions guide to cover the
thiscontext, async return values, sheet-qualified addresses and the required JSDoc comment, and changed the example to return a value. - Replaced the custom functions note with an intro paragraph and made the sample link text descriptive.
- Documented the
*icon fallback and dropped the duplicated selection steps from the scale row. - Linked each plugin API overview to its Office API counterpart and clarified the
SetPropertieswatermark parameter. - Rewrote the plugins overview intro, troubleshooting and resources sections, and dropped the development time estimates.
- Linked the overview's distribution line to the marketplace submission and private distribution pages.
- Clarified the framework support row in the overview comparison table.
- Moved colons outside bold labels on the overview, common errors, and plugins, macros and AI get started pages.
- Expanded the custom functions guide to cover the
- Desktop:
- Described
uiThemeinloginas the cloud tab color, accepting a string or an object. - Promoted the login and logout example headings to h3.
- Described
- Workspace:
- Rewrote the Community Server and Hosted Solutions API references as Markdown pages.
- Common:
- Site URLs no longer end with a trailing slash.
- Page Markdown is now served from the build instead of GitHub.
- Sharpened the Document Builder, Embed SDK and Plugins SDK descriptions.
- Moved the colon outside bold property labels (
**type**:instead of**type:**).
- Localization:
- Synced the zh-CN frontend framework guides with the English version.
- Added dark mode icon variants to the zh-CN custom functions guide.
- Removed the UTF-8 BOM from zh-CN pages.
- Used full-width colons after bold labels in zh-CN pages.
- Added
hmlto the zh-CN text document conversion table. - Dropped the duplicated
meta.titledescription from the zh-CNmetarow. - Translated the zh-CN Office API overview page.
- Translated table headers and the Parameters/Example labels on the zh-CN methods, events and conversion API pages.
- Translated English image alt text on the zh-CN customization, embedded, events, external data, plugin configuration and macros pages.
Bugfixes
- Fixed the description of what
this.argsholds in custom functions. - Fixed
APITablerow anchors to use the property name's exact casing. - Fixed broken cross-page links and pointed links at the new per-editor API index pages.
- Fixed the Automation API sample cards linking to the wrong pages.
- Fixed the font and text size units of chart, paragraph, range and PDF widget methods: they take half-points (
hps), not points (pt). - Fixed a stray asterisk before
otherWindowin the WOPI postMessagetargetOrigindescription. - Fixed Python sample indentation in the DocSpace basic samples.
- Fixed DocSpace samples that use
awaitinside callbacks not markedasync. - Fixed a Cyrillic "с" in the
constkeyword in the DocSpace move file sample. - Fixed the
isViewerkey casing in the plugin button examples. - Fixed trailing slashes in Playground and editor links.
- Fixed the missing
:::noteadmonition keyword on the zh-CN conversion tables page. - Fixed zh-CN keyword search, windows and panels code examples that were out of sync with the English pages.
- Fixed stray spaces after full-width punctuation on zh-CN pages.