You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Or set the upgraded element's readonly property to true. The default remains editable. This uses the document editor's read-only API rather than merely hiding controls.
Verified against the current deployed editor with real DOCX and PPTX: state reports read-only, SDK restrictions are 128, canEdit() is false, and save requests are rejected. Existing legacy self-hosted editors without the embed API must be upgraded before they can enforce this mode; the component returns an explicit error instead of silently permitting edits.
Activity
chaxus commentedon Oct 19, 2026
Added opt-in read-only mode in 0.2.0 (PR #9):
Or set the upgraded element's
readonlyproperty totrue. The default remains editable. This uses the document editor's read-only API rather than merely hiding controls.Verified against the current deployed editor with real DOCX and PPTX: state reports read-only, SDK restrictions are 128,
canEdit()is false, and save requests are rejected. Existing legacy self-hosted editors without the embed API must be upgraded before they can enforce this mode; the component returns an explicit error instead of silently permitting edits.Configuration and verification.