For the complete documentation index, see llms.txt. This page is also available as Markdown.

Set initial edit mode in Apryse DOCX Editor

Requirements

These packages are required to use these features in production. Trial keys have unlimited access to all features

Package: DOCX EditorLive demo

The DOCX Editor supports multiple edit modes that determine how users can interact with a document.

You can choose from the following modes:

  • Editing – full editing capabilities are enabled.

  • Reviewing – users can suggest and review tracked changes.

  • Viewing – the document cannot be edited.

The initialEditMode property allows you to specify the default edit mode when a document is loaded. This property is part of the officeEditorOptions object, which is included in the WebViewerOptions parameter passed to the WebViewer function.

This may be added to the WebViewer options to set the initialEditMode as demonstrated below.

Last updated

Was this helpful?