Skip to content

Release v2.14.1

Choose a tag to compare

@github-actions github-actions released this 22 Apr 07:38
· 5 commits to main since this release
43f5a2b

@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_CONTENTS flag handling and granular lock helpers (hasNoViewFlag, hasHiddenFlag, hasReadOnlyFlag, hasLockedContentsFlag). Expose isAnnotationInteractive, isAnnotationStructurallyLocked, isAnnotationContentLocked, and isAnnotationSelectable on the plugin API. Update annotation rendering across React/Preact, Svelte, and Vue to skip noView/hidden annotations and gate interactions using the new predicates. Thread structurallyLocked and contentLocked through 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-export LockModeType from the snippet’s public embedpdf entry for consumers.

  • #598 by @ngivanyh – Add Traditional Chinese (zh-TW) locale strings to the snippet viewer, register them in the default translation bundle, and expose zh-TW in the CJK language group of the UI schema so users can select 繁體中文 in the viewer.

@embedpdf/[email protected]

@embedpdf/[email protected]

@embedpdf/[email protected]

@embedpdf/[email protected]

@embedpdf/[email protected]

@embedpdf/[email protected]

@embedpdf/[email protected]

@embedpdf/[email protected]

@embedpdf/[email protected]

@embedpdf/[email protected]

@embedpdf/[email protected]

@embedpdf/[email protected]

@embedpdf/[email protected]

@embedpdf/[email protected]

@embedpdf/[email protected]

@embedpdf/[email protected]

@embedpdf/[email protected]

@embedpdf/[email protected]

@embedpdf/[email protected]

@embedpdf/[email protected]

@embedpdf/[email protected]

@embedpdf/[email protected]

@embedpdf/[email protected]

@embedpdf/[email protected]

@embedpdf/[email protected]

@embedpdf/[email protected]

@embedpdf/[email protected]

@embedpdf/[email protected]

@embedpdf/[email protected]

@embedpdf/[email protected]

@embedpdf/[email protected]

@embedpdf/[email protected]

@embedpdf/[email protected]

@embedpdf/[email protected]

@embedpdf/[email protected]