diff --git a/README.md b/README.md index 9ac089b..58d8d76 100644 --- a/README.md +++ b/README.md @@ -25,6 +25,7 @@ A Vue 2 component for rendering PDFs with draggable and resizable element overla | `showSelectionHandles` | Boolean | `true` | Show resize/move handles on selected elements | | `showElementActions` | Boolean | `true` | Show action buttons on selected elements | | `readOnly` | Boolean | `false` | Disable drag, resize, and actions for elements | +| `ignoreClickOutsideSelectors` | Array | `[]` | CSS selectors that keep the selection active when clicking outside the element | | `pageCountFormat` | String | `'{currentPage} of {totalPages}'` | Format string for page counter | | `autoFitZoom` | Boolean | `false` | Automatically adjust zoom to fit viewport on window resize | @@ -37,4 +38,3 @@ A Vue 2 component for rendering PDFs with draggable and resizable element overla - `element-{type}` - Custom element rendering (e.g., `element-signature`) - `custom` - Fallback for elements without specific type - `actions` - Custom action buttons - diff --git a/package.json b/package.json index 3e3ea43..e4fa84b 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@libresign/pdf-elements", "description": "PDF viewer with draggable and resizable element overlays for Vue 2", - "version": "0.2.5", + "version": "0.3.0", "author": "LibreCode ", "private": false, "main": "dist/pdf-elements.umd.js", diff --git a/src/components/DraggableElement.vue b/src/components/DraggableElement.vue index 55bdeb1..9fb646e 100644 --- a/src/components/DraggableElement.vue +++ b/src/components/DraggableElement.vue @@ -10,7 +10,12 @@ SPDX-License-Identifier: AGPL-3.0-or-later class="actions-toolbar" :style="toolbarStyle" > - + +