跳到主要内容

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 callCommand and 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 --ts flag.
    • Showed the full nesting of the angular.json and package.json snippets in the Angular guide.
    • Wrapped the Angular method snippets in the App class and highlighted commented JSON as json5.
    • Moved the otherWindow definition out of the WOPI targetOrigin row and inlined the CopyPasteRestrictions values.
    • Replaced hard <br/> line breaks in the WOPI config table.
    • Clarified that setRequestedDocument can also be called directly once onDocumentReady has fired, not only from the onRequestSelectDocument handler.
  • Office API:
    • Added Automation API and PDF API to the Get started overview.
    • Expanded the main Api class 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 this context, 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 SetProperties watermark 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.
  • Desktop:
    • Described uiTheme in login as the cloud tab color, accepting a string or an object.
    • Promoted the login and logout example headings to h3.
  • 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 hml to the zh-CN text document conversion table.
    • Dropped the duplicated meta.title description from the zh-CN meta row.
    • 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.args holds in custom functions.
  • Fixed APITable row 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 otherWindow in the WOPI postMessage targetOrigin description.
  • Fixed Python sample indentation in the DocSpace basic samples.
  • Fixed DocSpace samples that use await inside callbacks not marked async.
  • Fixed a Cyrillic "с" in the const keyword in the DocSpace move file sample.
  • Fixed the isViewer key casing in the plugin button examples.
  • Fixed trailing slashes in Playground and editor links.
  • Fixed the missing :::note admonition 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.