Property |
DocumentEditorContainer component |
DocumentEditor
component |
enableLocalPaste(default value) |
true |
false |
To handle that functionality do we need some extra backend implementation? |
Yes. Pasting outside contents in document editor involves server communication.
In server side, please ensure to add systemclipboard web API in controller.
Please refer the following GitHub source for web services platform-wise.
ASP.NET CORE
ASP.NET MVC
|
Is SSL needed in application which has this control implemented to get it working properly? (we've set up SSL) |
No. there is no need for SSL to get it work. |
Do we need any special configuration on client browsers (Chrome, Firefox) to get it working? |
There is no other special configuration needed in browsers. |
https://stackblitz.com/edit/angular-kv2rxc-n3zlmp?file=app.component.ts
Can't read properties of undefined (reading 'length') At Editor. getBlocks (ej2 document editor. es5. js: 64035:55) error will be reported when pasting
Hi,
We noticed that you are using a very old version. We recommend you upgrade both client and server side to the latest version (v21.2.10) packages. Please upgrade and try on your end. Please cross-check the given sample below and let us know if you need any further assistance.
NPM Link: (Client-side)
https://www.npmjs.com/package/@syncfusion/ej2-documenteditor
https://www.npmjs.com/package/@syncfusion/ej2-angular-documenteditor
NuGet link: (Server-side)
https://www.nuget.org/packages/Syncfusion.Ej2.Wordeditor.ASPNet.Core/
https://www.nuget.org/packages/Syncfusion.Ej2.Wordeditor.ASPNet.MVC5/
Sample Link (latest): https://stackblitz.com/edit/angular-yes1cx?file=src%2Fmain.ts
Regards,
Kavitha M