Release v2.14.1
@embedpdf/[email protected]
Patch Changes
- #601 by @bobsingor – Add
PdfAnnotationFlags.LOCKED_CONTENTS(1 << 9) and map it to the'lockedContents'PdfAnnotationFlagName, extending flag parsing helpers (flagsToNames,namesToFlags) accordingly.
@embedpdf/[email protected]
Patch Changes
- #601 by @bobsingor – Add PDF
LOCKED_CONTENTSflag handling and granular lock helpers (hasNoViewFlag,hasHiddenFlag,hasReadOnlyFlag,hasLockedContentsFlag). ExposeisAnnotationInteractive,isAnnotationStructurallyLocked,isAnnotationContentLocked, andisAnnotationSelectableon the plugin API. Update annotation rendering across React/Preact, Svelte, and Vue to skipnoView/hiddenannotations and gate interactions using the new predicates. ThreadstructurallyLockedandcontentLockedthrough the selection menu context on all three stacks so custom menus can disable structural or content edits without re-reading flag arrays.
@embedpdf/[email protected]
Patch Changes
-
#601 by @bobsingor – Align annotation fill-mode toolbar commands with plugin-configured default lock state via
getDefaultAnnotationLock, and swap unlock vs form-only lock behavior so defaults match the intended modes. Re-exportLockModeTypefrom the snippet’s publicembedpdfentry for consumers. -
#598 by @ngivanyh – Add Traditional Chinese (
zh-TW) locale strings to the snippet viewer, register them in the default translation bundle, and exposezh-TWin the CJK language group of the UI schema so users can select 繁體中文 in the viewer.