@docx-editor.dev/pro 2.25.0 → 2.26.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +7 -3
  2. package/package.json +4 -4
package/README.md CHANGED
@@ -1,6 +1,10 @@
1
1
  <p align="center">
2
2
  <a href="https://www.docx-editor.dev/">
3
- <img src="https://raw.githubusercontent.com/eigenpal/docx-editor/main/.github/assets/header.png" alt="DOCX Editor — .docx in, .docx out. Open source, client-side." width="500" />
3
+ <picture>
4
+ <source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/eigenpal/docx-editor/main/.github/assets/readme-logo-dark.svg" />
5
+ <source media="(prefers-color-scheme: light)" srcset="https://raw.githubusercontent.com/eigenpal/docx-editor/main/.github/assets/readme-logo-light.svg" />
6
+ <img src="https://raw.githubusercontent.com/eigenpal/docx-editor/main/.github/assets/readme-logo-light.svg" alt="DOCX Editor by EigenPal" width="320" height="90" />
7
+ </picture>
4
8
  </a>
5
9
  </p>
6
10
 
@@ -18,7 +22,7 @@ Add review, collaboration, and custom content to the [docx-editor.dev](https://d
18
22
  - [Tracked changes](https://www.docx-editor.dev/docs/2.x/pro/tracked-changes): Suggesting mode, markup rendering, accept, and reject.
19
23
  - [Comments](https://www.docx-editor.dev/docs/2.x/pro/comments): Threads anchored to a range, with replies.
20
24
  - [Collaboration](https://www.docx-editor.dev/docs/2.x/pro/collaboration): Provider-neutral sessions with WebRTC and Hocuspocus helpers.
21
- - [Custom nodes](https://www.docx-editor.dev/docs/2.x/pro/custom-nodes): Inline node types stored as Word content controls.
25
+ - [Custom nodes](https://www.docx-editor.dev/docs/2.x/pro/custom-nodes): Inline node types stored as content controls.
22
26
 
23
27
  ```bash
24
28
  npm install @docx-editor.dev/react @docx-editor.dev/core @docx-editor.dev/pro
@@ -106,7 +110,7 @@ Items come from the document tree. Anchors come from layout records. These sourc
106
110
 
107
111
  ## Custom nodes
108
112
 
109
- Define inline nodes such as citations, mentions, and merge fields. Each node uses a Word content control with its identity and attributes in `w:tag`. Word displays the node's text and preserves the control.
113
+ Define inline nodes such as citations, mentions, and merge fields. Each node uses a content control with its identity and attributes in `w:tag`. Other DOCX editors display the node's text and preserve the control.
110
114
 
111
115
  ```ts
112
116
  import { defineCustomNode, customNodesModule } from '@docx-editor.dev/pro';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@docx-editor.dev/pro",
3
- "version": "2.25.0",
3
+ "version": "2.26.0",
4
4
  "description": "Commercial capabilities for @docx-editor.dev: the review module (comments, tracked changes, markup rendering), custom inline nodes, and realtime collaboration.",
5
5
  "sideEffects": false,
6
6
  "type": "module",
@@ -70,9 +70,9 @@
70
70
  "license:add": "license-check-and-add add -f license-check.json"
71
71
  },
72
72
  "peerDependencies": {
73
- "@docx-editor.dev/core": "~2.25.0",
74
- "@docx-editor.dev/react": "~2.25.0",
75
- "@docx-editor.dev/vue": "~2.25.0",
73
+ "@docx-editor.dev/core": "~2.26.0",
74
+ "@docx-editor.dev/react": "~2.26.0",
75
+ "@docx-editor.dev/vue": "~2.26.0",
76
76
  "react": "^18.0.0 || ^19.0.0",
77
77
  "react-dom": "^18.0.0 || ^19.0.0",
78
78
  "vue": "^3.3.0",