@eigenpal/docx-js-editor 0.0.21 → 0.0.22
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.
- package/README.md +3 -1
- package/package.json +3 -2
package/README.md
CHANGED
|
@@ -15,6 +15,8 @@
|
|
|
15
15
|
|
|
16
16
|
Open-source WYSIWYG DOCX editor for the browser. No server required. **[Live demo](https://docx-js-editor.vercel.app/)**
|
|
17
17
|
|
|
18
|
+
For AI agents: see the [Agent Reference](https://raw.githubusercontent.com/eigenpal/docx-editor/main/AGENTS_README.md) for comprehensive API docs, code examples, and integration patterns.
|
|
19
|
+
|
|
18
20
|
<p align="center">
|
|
19
21
|
<a href="https://docx-js-editor.vercel.app/">
|
|
20
22
|
<img src="https://raw.githubusercontent.com/eigenpal/docx-js-editor/main/assets/editor.png" alt="DOCX JS Editor screenshot" width="700" />
|
|
@@ -40,7 +42,7 @@ import '@eigenpal/docx-js-editor/styles.css';
|
|
|
40
42
|
|
|
41
43
|
function Editor({ file }: { file: ArrayBuffer }) {
|
|
42
44
|
const editorRef = useRef<DocxEditorRef>(null);
|
|
43
|
-
return <DocxEditor ref={editorRef} documentBuffer={file} onChange={() => {}} />;
|
|
45
|
+
return <DocxEditor ref={editorRef} documentBuffer={file} mode="editing" onChange={() => {}} />;
|
|
44
46
|
}
|
|
45
47
|
```
|
|
46
48
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eigenpal/docx-js-editor",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.22",
|
|
4
4
|
"description": "A browser-based DOCX template editor with variable insertion support",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.cjs",
|
|
@@ -100,7 +100,8 @@
|
|
|
100
100
|
"prosemirror-model": "^1.19.4",
|
|
101
101
|
"prosemirror-state": "^1.4.3",
|
|
102
102
|
"prosemirror-tables": "^1.8.5",
|
|
103
|
-
"prosemirror-view": "^1.32.7"
|
|
103
|
+
"prosemirror-view": "^1.32.7",
|
|
104
|
+
"sonner": "^2.0.7"
|
|
104
105
|
},
|
|
105
106
|
"keywords": [
|
|
106
107
|
"docx",
|