@syncfusion/ej2-react-documenteditor 20.4.48 → 20.4.49
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/CHANGELOG.md +11 -0
- package/README.md +105 -45
- package/dist/ej2-react-documenteditor.min.js +1 -1
- package/dist/ej2-react-documenteditor.umd.min.js +1 -1
- package/package.json +6 -6
package/CHANGELOG.md
CHANGED
|
@@ -6,6 +6,17 @@
|
|
|
6
6
|
|
|
7
7
|
#### Bug Fixes
|
|
8
8
|
|
|
9
|
+
- `#I426407` - Resolved the issue with application-level CSS inherited to the content during copy and paste operation.
|
|
10
|
+
- `#I428463` - Resolved the issue while editing in header with track changes enabled state.
|
|
11
|
+
- `#I420355` - Resolved the issue with page break and paragraph pagination properties preservation.
|
|
12
|
+
- `#I371788` - Resolved the multiple spell check call triggering when enabled of initial disabled in creation.
|
|
13
|
+
|
|
14
|
+
## 20.4.48 (2023-02-01)
|
|
15
|
+
|
|
16
|
+
### Document Editor
|
|
17
|
+
|
|
18
|
+
#### Bug Fixes
|
|
19
|
+
|
|
9
20
|
- `#I426081` - Included the Footnote while printing.
|
|
10
21
|
- `#I426150` - Resolved the Whole Paragraph moving while entering TAB key.
|
|
11
22
|
- `#I425934` - Resolved the Error Message while opening the document in Ms Word.
|
package/README.md
CHANGED
|
@@ -1,74 +1,134 @@
|
|
|
1
|
-
#
|
|
1
|
+
# React Word Processor Component
|
|
2
2
|
|
|
3
|
-
The [React
|
|
3
|
+
The [React Word Processor](https://www.syncfusion.com/react-ui-components/react-word-processor?utm_source=npm&utm_medium=listing&utm_campaign=react-word-processor-npm) component is a feature rich UI component with document editing capabilities like Microsoft Word. Also known as the document editor, it is used to create, edit, view, and print Word documents. It provides all the common Word processing features including editing text, formatting content, resizing images and tables, finding and replacing text, bookmarks, tables of contents, track changes, commenting, restrict editing, printing, importing and exporting Word documents.
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
An example [Word Processor server-side Web API projects for ASP.NET MVC, ASP.NET Core, and Java is available in GitHub](https://github.com/SyncfusionExamples/EJ2-DocumentEditor-WebServices?utm_source=npm&utm_medium=listing&utm_campaign=react-word-processor-npm) which contains all the mandatory Web APIs for opening Word documents, paste with formatting, restrict editing, spell-checking, and saving documents.
|
|
5
|
+
An example [Word Processor server-side Web API projects for ASP.NET MVC, ASP.NET Core, and Java is available in GitHub](https://github.com/SyncfusionExamples/EJ2-DocumentEditor-WebServices?utm_source=npm&utm_medium=listing&utm_campaign=react-word-processor-npm) which contains all the mandatory Web APIs for opening Word documents, paste with formatting, restrict editing, spell-checking, and saving documents other than SFDT/DOCX format. Apart from these operations, all the user interactions and editing operations run purely in the client-side provides much faster editing experience to the users.
|
|
8
6
|
|
|
9
7
|
Syncfusion provides a predefined [Word Processor server docker image](https://hub.docker.com/r/syncfusion/word-processor-server?utm_source=npm&utm_medium=listing&utm_campaign=react-word-processor-npm) targeting ASP.NET Core 2.1 framework. You can directly pull this docker image and deploy it in server on the go. You can also create own docker image by customizing the existing [docker project from GitHub](https://github.com/SyncfusionExamples/Word-Processor-Server-Docker?utm_source=npm&utm_medium=listing&utm_campaign=react-word-processor-npm).
|
|
10
8
|
|
|
11
|
-
>
|
|
9
|
+
<p align="center">
|
|
10
|
+
<a href="https://ej2.syncfusion.com/react/documentation/document-editor/getting-started/?utm_source=npm&utm_medium=listing&utm_campaign=react-word-processor-npm">Getting Started</a> .
|
|
11
|
+
<a href="https://ej2.syncfusion.com/react/demos/?utm_source=npm&utm_medium=listing&utm_campaign=react-word-processor-npm#/bootstrap5/document-editor/default">Online demos</a> .
|
|
12
|
+
<a href="https://www.syncfusion.com/react-components/react-word-processor?utm_source=npm&utm_medium=listing&utm_campaign=react-word-processor-npm">Learn more</a>
|
|
13
|
+
</p>
|
|
12
14
|
|
|
13
|
-
>
|
|
15
|
+
<p align="center">
|
|
16
|
+

|
|
17
|
+
</p>
|
|
14
18
|
|
|
19
|
+
<p align="center">
|
|
20
|
+
Trusted by the world's leading companies
|
|
21
|
+
<a href="https://www.syncfusion.com">
|
|
22
|
+
<img src="https://raw.githubusercontent.com/SyncfusionExamples/nuget-img/master/syncfusion/syncfusion-trusted-companies.webp" alt="Bootstrap logo">
|
|
23
|
+
</a>
|
|
24
|
+
</p>
|
|
15
25
|
|
|
16
26
|
## Setup
|
|
17
27
|
|
|
18
|
-
|
|
28
|
+
### Create a React Application
|
|
29
|
+
|
|
30
|
+
You can use **create-react-app** to setup your React applications. To install **create-react-app** use the following commands.
|
|
19
31
|
|
|
20
|
-
```
|
|
21
|
-
npm install
|
|
32
|
+
```bash
|
|
33
|
+
npm install -g create-react-app
|
|
34
|
+
create-react-app quickstart
|
|
35
|
+
cd quickstart
|
|
36
|
+
npm install
|
|
22
37
|
```
|
|
23
38
|
|
|
24
|
-
|
|
39
|
+
### Adding Syncfusion Word Processor package
|
|
25
40
|
|
|
26
|
-
|
|
27
|
-
* [Getting Started](https://ej2.syncfusion.com/react/documentation/document-editor/getting-started/?utm_source=npm&utm_medium=listing&utm_campaign=react-word-processor-npm)
|
|
28
|
-
* [View Online Demos](https://ej2.syncfusion.com/react/demos/?utm_source=npm&utm_medium=listing&utm_campaign=react-word-processor-npm/#/material/document-editor/default/)
|
|
41
|
+
All Syncfusion React packages are published in [npmjs.com](https://www.npmjs.com/~syncfusionorg) registry. To install React Document editor package, use the following command.
|
|
29
42
|
|
|
30
|
-
|
|
43
|
+
```bash
|
|
44
|
+
npm install @syncfusion/ej2-react-documenteditor --save
|
|
45
|
+
```
|
|
31
46
|
|
|
32
|
-
|
|
47
|
+
### Adding CSS references for Word Processor
|
|
33
48
|
|
|
34
|
-
|
|
35
|
-
2. [Vue Document Editor](https://www.syncfusion.com/vue-ui-components/vue-word-processor?utm_source=npm&utm_medium=listing&utm_campaign=react-word-processor-npm)
|
|
36
|
-
3. [JavaScript Document Editor](https://www.syncfusion.com/javascript-ui-controls/js-word-processor?utm_source=npm&utm_medium=listing&utm_campaign=react-word-processor-npm)
|
|
37
|
-
4. [ASP.NET Core Document Editor](https://www.syncfusion.com/aspnet-core-ui-controls/word-processor?utm_source=npm&utm_medium=listing&utm_campaign=react-word-processor-npm)
|
|
38
|
-
5. [ASP.NET MVC Document Editor](https://www.syncfusion.com/aspnet-mvc-ui-controls/word-processor?utm_source=npm&utm_medium=listing&utm_campaign=react-word-processor-npm)
|
|
49
|
+
Add CSS references needed for Document editor in the **src/App.css** file.
|
|
39
50
|
|
|
40
|
-
|
|
51
|
+
```html
|
|
52
|
+
@import '../node_modules/@syncfusion/ej2-base/styles/material.css';
|
|
53
|
+
@import '../node_modules/@syncfusion/ej2-buttons/styles/material.css';
|
|
54
|
+
@import '../node_modules/@syncfusion/ej2-inputs/styles/material.css';
|
|
55
|
+
@import '../node_modules/@syncfusion/ej2-popups/styles/material.css';
|
|
56
|
+
@import '../node_modules/@syncfusion/ej2-lists/styles/material.css';
|
|
57
|
+
@import '../node_modules/@syncfusion/ej2-navigations/styles/material.css';
|
|
58
|
+
@import '../node_modules/@syncfusion/ej2-splitbuttons/styles/material.css';
|
|
59
|
+
@import '../node_modules/@syncfusion/ej2-dropdowns/styles/material.css';
|
|
60
|
+
@import "../node_modules/@syncfusion/ej2-react-documenteditor/styles/material.css";
|
|
61
|
+
```
|
|
41
62
|
|
|
42
|
-
|
|
43
|
-
* **Supported elements** - Supports document elements like text, inline image, table, hyperlink, fields, bookmark, table of contents, section, header, and footer.
|
|
44
|
-
* **Styles** - Supports character and paragraph styles.
|
|
45
|
-
* **Editing** - Supports all the common editing and formatting operations.
|
|
46
|
-
* **History** - Supports options to perform undo redo operations.
|
|
47
|
-
* **Find and replace** - Provides support to find and replace text within the document.
|
|
48
|
-
* **Export** - Provides the options to export the documents in the client-side as `Syncfusion Document Text (*.sfdt)` and `Word document (*.docx)`.
|
|
49
|
-
* **Import** - Provides the options to import the native `Syncfusion Document Text (*.sfdt)` format documents in the client-side.
|
|
50
|
-
* **Print** - Provides the options to print the documents.
|
|
51
|
-
* **Clipboard** - Provides support to cut, copy, and paste rich text contents within the component. Also allows pasting simple text from other applications.
|
|
52
|
-
* **User interface** - Provides intuitive user friendly interface to perform various operations.
|
|
53
|
-
* **Context menu** - Provides context menu.
|
|
54
|
-
* **Dialog** - Provides dialog for inserting elements such as hyperlink, table and formatting such as font, paragraph, list, style, table.
|
|
55
|
-
* **Options pane** - Provides options pane to perform find and replace operations.
|
|
63
|
+
## Add Word Processor component
|
|
56
64
|
|
|
57
|
-
|
|
65
|
+
Add the React Document editor by using following in the **src/App.tsx** file.
|
|
66
|
+
|
|
67
|
+
```typescript
|
|
68
|
+
import * as React from 'react';
|
|
69
|
+
import { DocumentEditorContainerComponent, Toolbar } from '@syncfusion/ej2-react-documenteditor';
|
|
70
|
+
DocumentEditorContainerComponent.Inject(Toolbar);
|
|
71
|
+
function App() {
|
|
72
|
+
return (<DocumentEditorContainerComponent id="container" style={{ 'height': '590px' }} serviceUrl="https://ej2services.syncfusion.com/production/web-services/api/documenteditor/" enableToolbar={true}/>);
|
|
73
|
+
}
|
|
74
|
+
export default App;
|
|
75
|
+
```
|
|
76
|
+
|
|
77
|
+
> The web API ('https://ej2services.syncfusion.com/production/web-services/api/documenteditor/') is created specifically for our online demos. You should host web API on your side, refer the [web service documentation](https://ej2.syncfusion.com/react/documentation/document-editor/web-services/?utm_source=npm&utm_medium=listing&utm_campaign=react-word-processor-npm) for more information.
|
|
78
|
+
|
|
79
|
+
## Supported frameworks
|
|
58
80
|
|
|
59
|
-
|
|
81
|
+
The React Word Processor (Document Editor) component is also offered in the following list of frameworks.
|
|
60
82
|
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
* Ask your query in Stack Overflow with tag `syncfusion`, `ej2`.
|
|
83
|
+
| [<img src="https://ej2.syncfusion.com/github/images/js.svg" height="50" />](https://www.syncfusion.com/javascript-ui-controls?utm_medium=listing&utm_source=github)<br/> [JavaScript](https://www.syncfusion.com/javascript-ui-controls?utm_medium=listing&utm_source=github) | [<img src="https://ej2.syncfusion.com/github/images/angular.svg" height="50" />](https://www.syncfusion.com/angular-components/?utm_medium=listing&utm_source=github)<br/> [Angular](https://www.syncfusion.com/angular-components/?utm_medium=listing&utm_source=github) | [<img src="https://ej2.syncfusion.com/github/images/vue.svg" height="50" />](https://www.syncfusion.com/vue-ui-components?utm_medium=listing&utm_source=github)<br/> [Vue](https://www.syncfusion.com/vue-ui-components?utm_medium=listing&utm_source=github) | [<img src="https://ej2.syncfusion.com/github/images/netcore.svg" height="50" />](https://www.syncfusion.com/aspnet-core-ui-controls?utm_medium=listing&utm_source=github)<br/> [ASP.NET Core](https://www.syncfusion.com/aspnet-core-ui-controls?utm_medium=listing&utm_source=github) | [<img src="https://ej2.syncfusion.com/github/images/netmvc.svg" height="50" />](https://www.syncfusion.com/aspnet-mvc-ui-controls?utm_medium=listing&utm_source=github)<br/> [ASP.NET MVC](https://www.syncfusion.com/aspnet-mvc-ui-controls?utm_medium=listing&utm_source=github) |
|
|
84
|
+
| :-----: | :-----: | :-----: | :-----: | :-----: |
|
|
64
85
|
|
|
65
|
-
##
|
|
86
|
+
## Showcase samples
|
|
66
87
|
|
|
67
|
-
|
|
88
|
+
* Loan Calculator - [Source](https://github.com/syncfusion/ej2-showcase-react-loan-calculator), [Live Demo](https://ej2.syncfusion.com/showcase/react/loancalculator/?utm_source=npm&utm_medium=listing&utm_campaign=react-word-processor-npm#/default)
|
|
89
|
+
* Fitness Tracker - [Source](https://github.com/SyncfusionExamples/showcase-react-health-tracker-dashboard-demo), [Live Demo](https://ej2.syncfusion.com/showcase/react/fitness-tracker-app/)
|
|
90
|
+
|
|
91
|
+
## Key features
|
|
92
|
+
|
|
93
|
+
* [Document Authoring](https://ej2.syncfusion.com/react/demos/?utm_source=npm&utm_medium=listing&utm_campaign=react-word-processor-npm#/bootstrap5/document-editor/default) - Allows to create a document with supported elements and formatting options.
|
|
94
|
+
* Supported elements - Supports document elements like text, inline image, table, hyperlink, fields, bookmark, table of contents, footnote and endnote, section, header, and footer.
|
|
95
|
+
* Styles - Supports character and paragraph styles.
|
|
96
|
+
* Editing - Supports all the common editing and formatting operations.
|
|
97
|
+
* History - Supports options to perform undo redo operations.
|
|
98
|
+
* Find and replace - Provides support to find and replace text within the document.
|
|
99
|
+
* [Track changes](https://ej2.syncfusion.com/react/demos/?utm_source=npm&utm_medium=listing&utm_campaign=react-word-processor-npm#/bootstrap5/document-editor/track-changes) - Suppports tracking the content insertion and deletion.
|
|
100
|
+
* [Commenting](https://ej2.syncfusion.com/react/demos/?utm_source=npm&utm_medium=listing&utm_campaign=react-word-processor-npm#/bootstrap5/document-editor/comments) - Supports adding a comment, replying to an existing comment or mark as resolved and more.
|
|
101
|
+
* [Form filling](https://ej2.syncfusion.com/react/demos/?utm_source=npm&utm_medium=listing&utm_campaign=react-word-processor-npm#/bootstrap5/document-editor/form-fields) - Supports designing fillable forms in Word document and fill the forms.
|
|
102
|
+
* [Restrict editng](https://ej2.syncfusion.com/react/demos/?utm_source=npm&utm_medium=listing&utm_campaign=react-word-processor-npm#/bootstrap5/document-editor/document-protection) - Supports restricting edit permission for a region in Word document and control what type of changes can be made to the document.
|
|
103
|
+
* Export - Provides the options to export the documents in the client-side as `Syncfusion Document Text (*.sfdt)` and `Word document (*.docx)`. With server-side library, exporting as other formats can be achieved.
|
|
104
|
+
* Import - Provides the options to import the native `Syncfusion Document Text (*.sfdt)` format documents in the client-side. With server-side library, importing other formats can be achieved.
|
|
105
|
+
* Print - Provides the options to print the documents.
|
|
106
|
+
* Clipboard - Provides support to cut, copy, and paste rich text contents within the component. Also allows pasting simple text from other applications. Paste rich text from other applications using server-side library.
|
|
107
|
+
* User interface - Provides intuitive user friendly interface to perform various operations.
|
|
108
|
+
* Context menu - Provides context menu.
|
|
109
|
+
* Dialog - Provides dialog for inserting elements such as hyperlink, table and formatting such as font, paragraph, list, style, table.
|
|
110
|
+
* Options pane - Provides options pane to perform find and replace operations.
|
|
111
|
+
|
|
112
|
+
## Support
|
|
113
|
+
|
|
114
|
+
Product support is available through the following mediums.
|
|
115
|
+
|
|
116
|
+
* [Support ticket](https://support.syncfusion.com/support/tickets/create) - Guaranteed Response in 24 hours | Unlimited tickets | Holiday support
|
|
117
|
+
* [Community forum](https://www.syncfusion.com/forums/react-js2?utm_source=npm&utm_medium=listing&utm_campaign=react-word-processor-npm)
|
|
118
|
+
* [GitHub issues](https://github.com/syncfusion/ej2-react-ui-components/issues/new)
|
|
119
|
+
* [Request feature or report bug](https://www.syncfusion.com/feedback/react?utm_source=npm&utm_medium=listing&utm_campaign=react-word-processor-npm)
|
|
120
|
+
* Live chat
|
|
68
121
|
|
|
69
122
|
## Changelog
|
|
70
123
|
|
|
71
|
-
Check the changelog [here](https://github.com/syncfusion/ej2-react-ui-components/blob/master/components/documenteditor/CHANGELOG.md?utm_source=npm&utm_medium=listing&utm_campaign=react-word-processor-npm)
|
|
124
|
+
Check the changelog [here](https://github.com/syncfusion/ej2-react-ui-components/blob/master/components/documenteditor/CHANGELOG.md?utm_source=npm&utm_medium=listing&utm_campaign=react-word-processor-npm). Get minor improvements and bug fixes every week to stay up to date with frequent updates.
|
|
125
|
+
|
|
126
|
+
## License and copyright
|
|
127
|
+
|
|
128
|
+
> This is a commercial product and requires a paid license for possession or use. Syncfusion’s licensed software, including this component, is subject to the terms and conditions of Syncfusion's [EULA](https://www.syncfusion.com/eula/es/). To acquire a license for 80+ [React UI components](https://www.syncfusion.com/react-components), you can [purchase](https://www.syncfusion.com/sales/products) or [start a free 30-day trial](https://www.syncfusion.com/account/manage-trials/start-trials).
|
|
129
|
+
|
|
130
|
+
> A free community [license](https://www.syncfusion.com/products/communitylicense) is also available for companies and individuals whose organizations have less than $1 million USD in annual gross revenue and five or fewer developers.
|
|
72
131
|
|
|
132
|
+
See [LICENSE FILE](https://github.com/syncfusion/ej2-react-ui-components/blob/master/license?utm_source=npm&utm_medium=listing&utm_campaign=react-word-processor-npm) for more info.
|
|
73
133
|
|
|
74
|
-
© Copyright 2023 Syncfusion, Inc. All Rights Reserved. The Syncfusion Essential Studio license and copyright applies to this distribution.
|
|
134
|
+
© Copyright 2023 Syncfusion, Inc. All Rights Reserved. The Syncfusion Essential Studio license and copyright applies to this distribution.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* filename: ej2-react-documenteditor.min.js
|
|
3
|
-
* version : 20.4.
|
|
3
|
+
* version : 20.4.49
|
|
4
4
|
* Copyright Syncfusion Inc. 2001 - 2020. 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 : 20.4.
|
|
3
|
+
* version : 20.4.49
|
|
4
4
|
* Copyright Syncfusion Inc. 2001 - 2020. 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,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"_from": "@syncfusion/ej2-react-documenteditor@*",
|
|
3
|
-
"_id": "@syncfusion/ej2-react-documenteditor@20.4.
|
|
3
|
+
"_id": "@syncfusion/ej2-react-documenteditor@20.4.48",
|
|
4
4
|
"_inBundle": false,
|
|
5
|
-
"_integrity": "sha512-
|
|
5
|
+
"_integrity": "sha512-7qyCd1ofuOAE9YLsLMNsJ9TrS3iXLNGOGYg64onwV0yQlDpGdXuluPYv+YveBRBIlLIVhH6oJM5qvEQLcr1g+g==",
|
|
6
6
|
"_location": "/@syncfusion/ej2-react-documenteditor",
|
|
7
7
|
"_phantomChildren": {},
|
|
8
8
|
"_requested": {
|
|
@@ -19,8 +19,8 @@
|
|
|
19
19
|
"_requiredBy": [
|
|
20
20
|
"/"
|
|
21
21
|
],
|
|
22
|
-
"_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-react-documenteditor/-/ej2-react-documenteditor-20.4.
|
|
23
|
-
"_shasum": "
|
|
22
|
+
"_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-react-documenteditor/-/ej2-react-documenteditor-20.4.48.tgz",
|
|
23
|
+
"_shasum": "195d1d0b92db5a1c1f8c7c2f32f6f782f19e7b29",
|
|
24
24
|
"_spec": "@syncfusion/ej2-react-documenteditor@*",
|
|
25
25
|
"_where": "/jenkins/workspace/ease-automation_release_19.1.0.1/packages/included",
|
|
26
26
|
"author": {
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"bundleDependencies": false,
|
|
33
33
|
"dependencies": {
|
|
34
34
|
"@syncfusion/ej2-base": "~20.4.48",
|
|
35
|
-
"@syncfusion/ej2-documenteditor": "20.4.
|
|
35
|
+
"@syncfusion/ej2-documenteditor": "20.4.49",
|
|
36
36
|
"@syncfusion/ej2-react-base": "~20.4.48"
|
|
37
37
|
},
|
|
38
38
|
"deprecated": false,
|
|
@@ -53,6 +53,6 @@
|
|
|
53
53
|
"type": "git",
|
|
54
54
|
"url": "git+https://github.com/syncfusion/ej2-react-ui-components.git"
|
|
55
55
|
},
|
|
56
|
-
"version": "20.4.
|
|
56
|
+
"version": "20.4.49",
|
|
57
57
|
"sideEffects": false
|
|
58
58
|
}
|