@syncfusion/ej2-react-documenteditor 31.2.4 → 31.2.10

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
@@ -1,25 +1,25 @@
1
- # React Word Processor Component
1
+ # React DOCX Editor Component
2
2
 
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.
3
+ The [React DOCX Editor](https://www.syncfusion.com/docx-editor-sdk/react-docx-editor?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
- 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.
5
+ An example [DOCX Editor 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.
6
6
 
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).
7
+ Syncfusion provides a predefined [DOCX Editor 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).
8
8
 
9
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>
10
+ <a href="https://help.syncfusion.com/document-processing/word/word-processor/react/getting-started?utm_source=npm&utm_medium=listing&utm_campaign=react-word-processor-npm">Getting Started</a> .
11
+ <a href="https://document.syncfusion.com/demos/docx-editor/react/#/tailwind3/document-editor/default?utm_source=npm&utm_medium=listing&utm_campaign=react-word-processor-npm#">Online demos</a> .
12
+ <a href="https://www.syncfusion.com/docx-editor-sdk/react-docx-editor?utm_source=npm&utm_medium=listing&utm_campaign=react-word-processor-npm">Learn more</a>
13
13
  </p>
14
14
 
15
15
  <p align="center">
16
- <img src="https://raw.githubusercontent.com/SyncfusionExamples/nuget-img/master/react/react-word-processor.png" alt="React Word Processor Component">
16
+ <img src="https://raw.githubusercontent.com/SyncfusionExamples/nuget-img/master/react/react-word-processor.png" alt="React DOCX Editor Component">
17
17
  </p>
18
18
 
19
19
  <p align="center">
20
20
  Trusted by the world's leading companies
21
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">
22
+ <img src="https://ej2.syncfusion.com/home/images/trusted_companies.png" alt="Bootstrap logo">
23
23
  </a>
24
24
  </p>
25
25
 
@@ -36,7 +36,7 @@ cd quickstart
36
36
  npm install
37
37
  ```
38
38
 
39
- ### Adding Syncfusion Word Processor package
39
+ ### Adding Syncfusion DOCX Editor package
40
40
 
41
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.
42
42
 
@@ -44,7 +44,7 @@ All Syncfusion React packages are published in [npmjs.com](https://www.npmjs.com
44
44
  npm install @syncfusion/ej2-react-documenteditor --save
45
45
  ```
46
46
 
47
- ### Adding CSS references for Word Processor
47
+ ### Adding CSS references for DOCX Editor
48
48
 
49
49
  Add CSS references needed for Document editor in the **src/App.css** file.
50
50
 
@@ -60,7 +60,7 @@ Add CSS references needed for Document editor in the **src/App.css** file.
60
60
  @import "../node_modules/@syncfusion/ej2-react-documenteditor/styles/material.css";
61
61
  ```
62
62
 
63
- ## Add Word Processor component
63
+ ## Add DOCX Editor component
64
64
 
65
65
  Add the React Document editor by using following in the **src/App.tsx** file.
66
66
 
@@ -69,18 +69,18 @@ import * as React from 'react';
69
69
  import { DocumentEditorContainerComponent, Toolbar } from '@syncfusion/ej2-react-documenteditor';
70
70
  DocumentEditorContainerComponent.Inject(Toolbar);
71
71
  function App() {
72
- return (<DocumentEditorContainerComponent id="container" style={{ 'height': '590px' }} serviceUrl="https://ej2services.syncfusion.com/production/web-services/api/documenteditor/" enableToolbar={true}/>);
72
+ return (<DocumentEditorContainerComponent id="container" style={{ 'height': '590px' }} serviceUrl="https://document.syncfusion.com/web-services/docx-editor/api/documenteditor/" enableToolbar={true}/>);
73
73
  }
74
74
  export default App;
75
75
  ```
76
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.
77
+ > The web API ('https://document.syncfusion.com/web-services/docx-editor/api/documenteditor/') is created specifically for our online demos. You should host web API on your side, refer the [web service documentation](https://help.syncfusion.com/document-processing/word/word-processor/react/web-services/core?utm_source=npm&utm_medium=listing&utm_campaign=react-word-processor-npm) for more information.
78
78
 
79
79
  ## Supported frameworks
80
80
 
81
- The React Word Processor (Document Editor) component is also offered in the following list of frameworks.
81
+ The React DOCX Editor (Document Editor) component is also offered in the following list of frameworks.
82
82
 
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/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[JavaScript](https://www.syncfusion.com/javascript-ui-controls?utm_medium=listing&utm_source=github)&nbsp;&nbsp;&nbsp;&nbsp; | [<img src="https://ej2.syncfusion.com/github/images/angular-new.svg" height="50" />](https://www.syncfusion.com/angular-components/?utm_medium=listing&utm_source=github)<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[Angular](https://www.syncfusion.com/angular-components/?utm_medium=listing&utm_source=github)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; | [<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/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[Vue](https://www.syncfusion.com/vue-ui-components?utm_medium=listing&utm_source=github)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; | [<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/>&nbsp;&nbsp;[ASP.NET&nbsp;Core](https://www.syncfusion.com/aspnet-core-ui-controls?utm_medium=listing&utm_source=github)&nbsp;&nbsp; | [<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/>&nbsp;&nbsp;[ASP.NET&nbsp;MVC](https://www.syncfusion.com/aspnet-mvc-ui-controls?utm_medium=listing&utm_source=github)&nbsp;&nbsp; |
83
+ | [<img src="https://ej2.syncfusion.com/github/images/js.svg" height="50" />](https://www.syncfusion.com/docx-editor-sdk/javascript-docx-editor?utm_medium=listing&utm_source=github)<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[JavaScript](https://www.syncfusion.com/docx-editor-sdk/javascript-docx-editor?utm_medium=listing&utm_source=github)&nbsp;&nbsp;&nbsp;&nbsp; | [<img src="https://ej2.syncfusion.com/github/images/angular-new.svg" height="50" />](https://www.syncfusion.com/docx-editor-sdk/angular-docx-editor?utm_medium=listing&utm_source=github)<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[Angular](https://www.syncfusion.com/docx-editor-sdk/angular-docx-editor?utm_medium=listing&utm_source=github)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; | [<img src="https://ej2.syncfusion.com/github/images/vue.svg" height="50" />](https://www.syncfusion.com/docx-editor-sdk/vue-docx-editor?utm_medium=listing&utm_source=github)<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[Vue](https://www.syncfusion.com/docx-editor-sdk/vue-docx-editor?utm_medium=listing&utm_source=github)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; | [<img src="https://ej2.syncfusion.com/github/images/netcore.svg" height="50" />](https://www.syncfusion.com/docx-editor-sdk/asp-net-core-docx-editor?utm_medium=listing&utm_source=github)<br/>&nbsp;&nbsp;[ASP.NET&nbsp;Core](https://www.syncfusion.com/docx-editor-sdk/asp-net-core-docx-editor?utm_medium=listing&utm_source=github)&nbsp;&nbsp; | [<img src="https://ej2.syncfusion.com/github/images/netmvc.svg" height="50" />](https://www.syncfusion.com/docx-editor-sdk/asp-net-mvc-docx-editor?utm_medium=listing&utm_source=github)<br/>&nbsp;&nbsp;[ASP.NET&nbsp;MVC](https://www.syncfusion.com/docx-editor-sdk/asp-net-mvc-docx-editor?utm_medium=listing&utm_source=github)&nbsp;&nbsp; |
84
84
  | :-----: | :-----: | :-----: | :-----: | :-----: |
85
85
 
86
86
  ## Showcase samples
@@ -90,16 +90,16 @@ The React Word Processor (Document Editor) component is also offered in the foll
90
90
 
91
91
  ## Key features
92
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.
93
+ * [Document Authoring](https://document.syncfusion.com/demos/docx-editor/react/?utm_source=npm&utm_medium=listing&utm_campaign=react-word-processor-npm#/tailwind3/document-editor/default) - Allows to create a document with supported elements and formatting options.
94
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
95
  * Styles - Supports character and paragraph styles.
96
96
  * Editing - Supports all the common editing and formatting operations.
97
97
  * History - Supports options to perform undo redo operations.
98
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.
99
+ * [Track changes](https://document.syncfusion.com/demos/docx-editor/react/?utm_source=npm&utm_medium=listing&utm_campaign=react-word-processor-npm#/tailwind3/document-editor/track-changes) - Suppports tracking the content insertion and deletion.
100
+ * [Commenting](https://document.syncfusion.com/demos/docx-editor/react/?utm_source=npm&utm_medium=listing&utm_campaign=react-word-processor-npm#/tailwind3/document-editor/comments) - Supports adding a comment, replying to an existing comment or mark as resolved and more.
101
+ * [Form filling](https://document.syncfusion.com/demos/docx-editor/react/?utm_source=npm&utm_medium=listing&utm_campaign=react-word-processor-npm#/tailwind3/document-editor/form-fields) - Supports designing fillable forms in Word document and fill the forms.
102
+ * [Restrict editng](https://document.syncfusion.com/demos/docx-editor/react/?utm_source=npm&utm_medium=listing&utm_campaign=react-word-processor-npm#/tailwind3/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
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
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
105
  * Print - Provides the options to print the documents.
@@ -109,6 +109,14 @@ The React Word Processor (Document Editor) component is also offered in the foll
109
109
  * Dialog - Provides dialog for inserting elements such as hyperlink, table and formatting such as font, paragraph, list, style, table.
110
110
  * Options pane - Provides options pane to perform find and replace operations.
111
111
 
112
+ ## Resources
113
+
114
+ * [AI Coding Assistant](https://ej2.syncfusion.com/react/documentation/ai-coding-assistants/overview)
115
+ * [Theme Studio](https://ej2.syncfusion.com/themestudio/)
116
+ * [What's New](https://www.syncfusion.com/products/whatsnew/docx-editor-sdk?utm_medium=listing&utm_source=github)
117
+ * [Road Map](https://www.syncfusion.com/products/roadmap/docx-editor-sdk)
118
+ * [E-Books](https://www.syncfusion.com/succinctly-free-ebooks?searchkey=react&type=all)
119
+
112
120
  ## Support
113
121
 
114
122
  Product support is available through the following mediums.
@@ -125,10 +133,10 @@ Check the changelog [here](https://github.com/syncfusion/ej2-react-ui-components
125
133
 
126
134
  ## License and copyright
127
135
 
128
- > This is a commercial product and requires a paid license for possession or use. Syncfusion<sup>®</sup> licensed software, including this component, is subject to the terms and conditions of Syncfusion<sup>®</sup> [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).
136
+ > This is a commercial product and requires a paid license for possession or use. Syncfusion<sup>®</sup> licensed software, including this component, is subject to the terms and conditions of Syncfusion<sup>®</sup> [EULA](https://www.syncfusion.com/eula/es/). To acquire a license for 140+ [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
137
 
130
138
  > 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.
131
139
 
132
140
  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.
133
141
 
134
- © Copyright 2025 Syncfusion<sup>®</sup> Inc. All Rights Reserved. The Syncfusion<sup>®</sup> Essential Studio<sup>®</sup> license and copyright applies to this distribution.
142
+ &copy; Copyright 2025 Syncfusion<sup>®</sup> Inc. All Rights Reserved. The Syncfusion<sup>®</sup> Essential Studio<sup>®</sup> license and copyright applies to this distribution.
@@ -1,10 +1 @@
1
- /*!
2
- * filename: ej2-react-documenteditor.min.js
3
- * version : 31.2.4
4
- * Copyright Syncfusion Inc. 2001 - 2025. All rights reserved.
5
- * Use of this code is subject to the terms of our license.
6
- * A copy of the current license can be obtained at any time by e-mailing
7
- * licensing@syncfusion.com. Any infringement will be prosecuted under
8
- * applicable laws.
9
- */
10
1
  !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("React"),require("SyncfusionDocumenteditor"),require("SyncfusionReactBase")):"function"==typeof define&&define.amd?define(["React","SyncfusionDocumenteditor","SyncfusionReactBase"],t):"object"==typeof exports?exports.SyncfusionReactDocumenteditor=t(require("React"),require("SyncfusionDocumenteditor"),require("SyncfusionReactBase")):e.SyncfusionReactDocumenteditor=t(e.React,e.SyncfusionDocumenteditor,e.SyncfusionReactBase)}(self,(e,t,o)=>(()=>{"use strict";var n={161:(e,t,o)=>{o.d(t,{G:()=>a});var n,r=o(24),i=o(851),c=o(705),s=(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])},n(e,t)},function(e,t){function o(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),a=function(e){function t(t){var o=e.call(this,t)||this;return o.initRenderCalled=!1,o.checkInjectedModules=!0,o.statelessTemplateProps=null,o.templateProps=null,o.immediateRender=!0,o.isReactMock=!0,o.portals=[],o}return s(t,e),t.prototype.render=function(){if(this.isReactMock=!1,!(this.element&&!this.initRenderCalled||this.refreshing)||this.isReactForeceUpdate)return r.createElement("div",this.getDefaultAttributes(),[].concat(this.props.children,this.portals));e.prototype.render.call(this),this.initRenderCalled=!0},t}(i.DocumentEditorContainer);(0,c.applyMixins)(a,[c.ComponentBase,r.Component])},257:(e,t,o)=>{o.d(t,{u:()=>a});var n,r=o(24),i=o(851),c=o(705),s=(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])},n(e,t)},function(e,t){function o(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),a=function(e){function t(t){var o=e.call(this,t)||this;return o.initRenderCalled=!1,o.checkInjectedModules=!0,o.statelessTemplateProps=null,o.templateProps=null,o.immediateRender=!0,o.isReactMock=!0,o.portals=[],o}return s(t,e),t.prototype.render=function(){if(this.isReactMock=!1,!(this.element&&!this.initRenderCalled||this.refreshing)||this.isReactForeceUpdate)return r.createElement("div",this.getDefaultAttributes(),[].concat(this.props.children,this.portals));e.prototype.render.call(this),this.initRenderCalled=!0},t}(i.DocumentEditor);(0,c.applyMixins)(a,[c.ComponentBase,r.Component])},24:t=>{t.exports=e},851:e=>{e.exports=t},705:e=>{e.exports=o}},r={};function i(e){var t=r[e];if(void 0!==t)return t.exports;var o=r[e]={exports:{}};return n[e](o,o.exports,i),o.exports}i.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return i.d(t,{a:t}),t},i.d=(e,t)=>{for(var o in t)i.o(t,o)&&!i.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},i.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),i.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var c={};return(()=>{i.r(c),i.d(c,{DocumentEditorComponent:()=>e.u,DocumentEditorContainerComponent:()=>t.G,Inject:()=>o.Inject});var e=i(257),t=i(161),o=i(705),n=i(851),r={};for(const e in n)["default","Inject","DocumentEditorComponent","DocumentEditorContainerComponent"].indexOf(e)<0&&(r[e]=()=>n[e]);i.d(c,r)})(),c})());
@@ -1,11 +1,2 @@
1
- /*!
2
- * filename: ej2-react-documenteditor.umd.min.js
3
- * version : 31.2.4
4
- * Copyright Syncfusion Inc. 2001 - 2025. All rights reserved.
5
- * Use of this code is subject to the terms of our license.
6
- * A copy of the current license can be obtained at any time by e-mailing
7
- * licensing@syncfusion.com. Any infringement will be prosecuted under
8
- * applicable laws.
9
- */
10
1
  !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("react"),require("@syncfusion/ej2-documenteditor"),require("@syncfusion/ej2-react-base")):"function"==typeof define&&define.amd?define(["exports","react","@syncfusion/ej2-documenteditor","@syncfusion/ej2-react-base"],t):t((e=e||self).ej={},e.React,e.ej2Documenteditor,e.ej2ReactBase)}(this,function(t,e,n,o){"use strict";r=function(e,t){return(r=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(e,t){e.__proto__=t}:function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])}))(e,t)};var r,i,c=function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},c=(i=n.DocumentEditor,c(s,i),s.prototype.render=function(){if(this.isReactMock=!1,!(this.element&&!this.initRenderCalled||this.refreshing)||this.isReactForeceUpdate)return e.createElement("div",this.getDefaultAttributes(),[].concat(this.props.children,this.portals));i.prototype.render.call(this),this.initRenderCalled=!0},s);function s(e){e=i.call(this,e)||this;return e.initRenderCalled=!1,e.checkInjectedModules=!0,e.statelessTemplateProps=null,e.templateProps=null,e.immediateRender=!0,e.isReactMock=!0,e.portals=[],e}o.applyMixins(c,[o.ComponentBase,e.Component]);a=function(e,t){return(a=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(e,t){e.__proto__=t}:function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])}))(e,t)};var a,p,u=function(e,t){function n(){this.constructor=e}a(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},u=(p=n.DocumentEditorContainer,u(l,p),l.prototype.render=function(){if(this.isReactMock=!1,!(this.element&&!this.initRenderCalled||this.refreshing)||this.isReactForeceUpdate)return e.createElement("div",this.getDefaultAttributes(),[].concat(this.props.children,this.portals));p.prototype.render.call(this),this.initRenderCalled=!0},l);function l(e){e=p.call(this,e)||this;return e.initRenderCalled=!1,e.checkInjectedModules=!0,e.statelessTemplateProps=null,e.templateProps=null,e.immediateRender=!0,e.isReactMock=!0,e.portals=[],e}o.applyMixins(u,[o.ComponentBase,e.Component]),Object.keys(n).forEach(function(e){"default"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return n[e]}})}),Object.defineProperty(t,"Inject",{enumerable:!0,get:function(){return o.Inject}}),t.DocumentEditorComponent=c,t.DocumentEditorContainerComponent=u,Object.defineProperty(t,"__esModule",{value:!0})});
11
2
  //# sourceMappingURL=ej2-react-documenteditor.umd.min.js.map
package/package.json CHANGED
@@ -1,28 +1,28 @@
1
- {
2
- "name": "@syncfusion/ej2-react-documenteditor",
3
- "version": "31.2.4",
4
- "description": "Feature-rich document editor control with built-in support for context menu, options pane and dialogs. for React",
5
- "author": "Syncfusion Inc.",
6
- "license": "SEE LICENSE IN license",
7
- "keywords": [
8
- "react",
9
- "react-documenteditor",
10
- "ej2-react-documenteditor"
11
- ],
12
- "repository": {
13
- "type": "git",
14
- "url": "https://github.com/syncfusion/ej2-react-ui-components.git"
15
- },
16
- "main": "./dist/ej2-react-documenteditor.umd.min.js",
17
- "module": "./index.js",
18
- "es2015": "dist/es6/ej2-react-documenteditor.es2015.js",
19
- "readme": "ReadMe.md",
20
- "dependencies": {
21
- "@syncfusion/ej2-base": "~31.2.4",
22
- "@syncfusion/ej2-react-base": "~31.2.2",
23
- "@syncfusion/ej2-documenteditor": "31.2.4"
24
- },
25
- "devDependencies": {},
26
- "sideEffects": false,
27
- "homepage": "https://www.syncfusion.com/react-components"
1
+ {
2
+ "name": "@syncfusion/ej2-react-documenteditor",
3
+ "version": "31.2.10",
4
+ "description": "Feature-rich document editor control with built-in support for context menu, options pane and dialogs. for React",
5
+ "author": "Syncfusion Inc.",
6
+ "license": "SEE LICENSE IN license",
7
+ "keywords": [
8
+ "react",
9
+ "react-documenteditor",
10
+ "ej2-react-documenteditor"
11
+ ],
12
+ "repository": {
13
+ "type": "git",
14
+ "url": "https://github.com/syncfusion/ej2-react-ui-components.git"
15
+ },
16
+ "main": "./dist/ej2-react-documenteditor.umd.min.js",
17
+ "module": "./index.js",
18
+ "es2015": "dist/es6/ej2-react-documenteditor.es2015.js",
19
+ "readme": "ReadMe.md",
20
+ "dependencies": {
21
+ "@syncfusion/ej2-base": "~31.2.5",
22
+ "@syncfusion/ej2-react-base": "~31.2.2",
23
+ "@syncfusion/ej2-documenteditor": "31.2.10"
24
+ },
25
+ "devDependencies": {},
26
+ "sideEffects": false,
27
+ "homepage": "https://www.syncfusion.com/react-components"
28
28
  }
@@ -1,2 +1,2 @@
1
-
1
+ @import 'ej2-base/styles/definition/material3-dark.scss';
2
2
  @import 'ej2-documenteditor/styles/document-editor/material3-dark.scss';
@@ -1,2 +1,2 @@
1
-
1
+ @import 'ej2-base/styles/definition/material3.scss';
2
2
  @import 'ej2-documenteditor/styles/document-editor/material3.scss';
@@ -1,2 +1,2 @@
1
-
1
+ @import 'ej2-base/styles/definition/material3-dark.scss';
2
2
  @import 'ej2-documenteditor/styles/document-editor-container/material3-dark.scss';
@@ -1,2 +1,2 @@
1
-
1
+ @import 'ej2-base/styles/definition/material3.scss';
2
2
  @import 'ej2-documenteditor/styles/document-editor-container/material3.scss';