@syncfusion/ej2-react-documenteditor 34.2.6 → 34.2.7
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
CHANGED
|
@@ -28,11 +28,14 @@ Trusted by the world's leading companies
|
|
|
28
28
|
> Before generating Syncfusion® code, ask your AI coding agent to run the Syncfusion® setup using the following prompt:
|
|
29
29
|
>
|
|
30
30
|
> ```text
|
|
31
|
-
> Set up this project for Syncfusion® before generating code. Fetch
|
|
31
|
+
> Set up this project for Syncfusion® before generating code. Fetch
|
|
32
|
+
> and follow the official instructions at https://ai.syncfusion.com/,
|
|
33
|
+
> then report the detected platform, installed skill pack, MCP
|
|
34
|
+
> status, and any required licensing action.
|
|
32
35
|
> ```
|
|
33
36
|
> The setup detects your project’s platform and loads the appropriate Syncfusion® skill pack. No Syncfusion® account or MCP key is required to install or read Syncfusion® agent skills.
|
|
34
37
|
>
|
|
35
|
-
> **Platform reference:** [https://ai.syncfusion.com/
|
|
38
|
+
> **Platform reference:** [https://ai.syncfusion.com/docx-editor-sdk/llms.txt](https://ai.syncfusion.com/docx-editor-sdk/llms.txt)
|
|
36
39
|
|
|
37
40
|
## Setup
|
|
38
41
|
|
|
@@ -41,10 +44,8 @@ Trusted by the world's leading companies
|
|
|
41
44
|
You can use **create-react-app** to setup your React applications. To install **create-react-app** use the following commands.
|
|
42
45
|
|
|
43
46
|
```bash
|
|
44
|
-
npm
|
|
45
|
-
|
|
46
|
-
cd quickstart
|
|
47
|
-
npm install
|
|
47
|
+
npm create vite@latest documenteditor-app -- --template react-ts
|
|
48
|
+
cd documenteditor-app
|
|
48
49
|
```
|
|
49
50
|
|
|
50
51
|
### Adding Syncfusion DOCX Editor package
|
|
@@ -57,18 +58,17 @@ npm install @syncfusion/ej2-react-documenteditor --save
|
|
|
57
58
|
|
|
58
59
|
### Adding CSS references for DOCX Editor
|
|
59
60
|
|
|
60
|
-
|
|
61
|
+
Install the styles package from npm using the following command:
|
|
62
|
+
|
|
63
|
+
```bash
|
|
64
|
+
npm install @syncfusion/ej2-tailwind3-theme
|
|
65
|
+
```
|
|
66
|
+
|
|
67
|
+
The Tailwind 3 theme package includes an `index.css` file that automatically imports all required DOCX Editor styles. Add the required DOCX Editor theme style reference to **src/App.css** file.
|
|
61
68
|
|
|
62
69
|
```html
|
|
63
|
-
@import
|
|
64
|
-
@import
|
|
65
|
-
@import '../node_modules/@syncfusion/ej2-inputs/styles/material.css';
|
|
66
|
-
@import '../node_modules/@syncfusion/ej2-popups/styles/material.css';
|
|
67
|
-
@import '../node_modules/@syncfusion/ej2-lists/styles/material.css';
|
|
68
|
-
@import '../node_modules/@syncfusion/ej2-navigations/styles/material.css';
|
|
69
|
-
@import '../node_modules/@syncfusion/ej2-splitbuttons/styles/material.css';
|
|
70
|
-
@import '../node_modules/@syncfusion/ej2-dropdowns/styles/material.css';
|
|
71
|
-
@import "../node_modules/@syncfusion/ej2-react-documenteditor/styles/material.css";
|
|
70
|
+
@import "../node_modules/@syncfusion/ej2-tailwind3-theme/styles/document-editor/index.css";
|
|
71
|
+
@import "../node_modules/@syncfusion/ej2-tailwind3-theme/styles/document-editor-container/index.css";
|
|
72
72
|
```
|
|
73
73
|
|
|
74
74
|
## Add DOCX Editor component
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* filename: ej2-react-documenteditor.min.js
|
|
3
|
-
* version : 34.2.
|
|
3
|
+
* version : 34.2.7
|
|
4
4
|
* Copyright Syncfusion Inc. 2001 - 2025. All rights reserved.
|
|
5
5
|
* Use of this code is subject to the terms of our license.
|
|
6
6
|
* A copy of the current license can be obtained at any time by e-mailing
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* filename: ej2-react-documenteditor.umd.min.js
|
|
3
|
-
* version : 34.2.
|
|
3
|
+
* version : 34.2.7
|
|
4
4
|
* Copyright Syncfusion Inc. 2001 - 2025. All rights reserved.
|
|
5
5
|
* Use of this code is subject to the terms of our license.
|
|
6
6
|
* A copy of the current license can be obtained at any time by e-mailing
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@syncfusion/ej2-react-documenteditor",
|
|
3
|
-
"version": "34.2.
|
|
3
|
+
"version": "34.2.7",
|
|
4
4
|
"description": "Feature-rich document editor control with built-in support for context menu, options pane and dialogs. for React",
|
|
5
5
|
"author": "Syncfusion Inc.",
|
|
6
6
|
"license": "SEE LICENSE IN license",
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@syncfusion/ej2-base": "~34.2.6",
|
|
22
22
|
"@syncfusion/ej2-react-base": "~34.2.6",
|
|
23
|
-
"@syncfusion/ej2-documenteditor": "34.2.
|
|
23
|
+
"@syncfusion/ej2-documenteditor": "34.2.7"
|
|
24
24
|
},
|
|
25
25
|
"devDependencies": {},
|
|
26
26
|
"sideEffects": false,
|