Copying from Document Editor throws an error

I got this error message

Image_6108_1739800622627

when trying to copy (or cut) from a document.

Here is what I tried to copy :

Image_8112_1739800673474


I'm using 

"@syncfusion/ej2": "^28.2.5",
"@syncfusion/ej2-locale": "^28.1.33",
"@syncfusion/ej2-react-documenteditor": "^28.2.5",
"@syncfusion/ej2-react-image-editor": "^28.2.3",
"@syncfusion/ej2-react-inputs": "^28.2.3",
"@syncfusion/ej2-react-pdfviewer": "^28.2.5",
"@syncfusion/ej2-react-richtexteditor": "^28.2.5",
"@syncfusion/ej2-react-spreadsheet": "^28.2.5",

3 Replies

MA Mohammed Affan Saqib Hussain Syncfusion Team February 18, 2025 08:54 AM UTC

Hi Idoia Reinares,

We can able to reproduce the reported issue. Currently, we are validating the issue and get back to you with more details by February 20,2025.

Regards,

Mohammed Affan C



SI Suresh Iyappan Syncfusion Team February 20, 2025 11:58 AM UTC

Hi Idoia Reinares,

We have confirmed the reported issue 'Resolve the script error issue while copying contents with checkbox content control properties' as a defect and logged a defect report. We will include this fix in our upcoming weekly release which is expected on March 11, 2025.
 

You can track the status of the bug through the below feedback link:

https://www.syncfusion.com/feedback/65606/resolve-the-script-error-issue-while-copying-contents-with-checkbox-content


Disclaimer: “Inclusion of this solution in the weekly release may change due to other factors including but not limited to QA checks and works reprioritization.”


Regards,
Suresh I



AA Akshaya Arivoli Syncfusion Team March 11, 2025 10:20 AM UTC

Hi Idoia Reinares,


We are glad to announce that our patch release (v28.2.11) has been rolled out successfully. In this ‎release, we have added the fix for the "Resolve the script error issue while copying contents with checkbox content control properties". Please upgrade to the latest version packages to resolve this issue:‎


NPM link:

https://www.npmjs.com/package/@syncfusion/ej2-react-documenteditor

NuGet links:‎

https://www.nuget.org/packages/Syncfusion.Ej2.Wordeditor.ASPNet.Core/

https://www.nuget.org/packages/Syncfusion.Ej2.Wordeditor.ASPNet.MVC5/


Feedback link:

Resolve the script error issue while copying contents with checkbox content control properties in JavaScript | Feedback Portal


Root cause: 

While copying the document contents and converting it to html format, in html export class while serializing the contents, in serializeInlines() method the behaviour for inlines with content control properties is not handled and hence the script error occurs. 


Please let us know if you need any further assistance.


Regards,

Akshaya


Loader.
Up arrow icon