Unable to copy highlighted text from word processor when RestrictEditing property is true

Hello Syncfusion Team,

We are using blazor SfDocumentEditorContainer inside a preview component, so RestrictEditing property is set to true as its just a preview (readonly mode). but we need to copy heighlighted text from this preview component, but when right click on heighlighted text as seen in image below the context menu is disabled. how can we copy heighlighted text from preview while RestrictEditing is true ?


            <SfDocumentEditorContainer @ref="container" [email protected]().ToString() Height=@Height Width="100%"       RestrictEditing="true" LayoutType="LayoutType.Continuous"

                                       ShowPropertiesPane="false" EnableToolbar="false" EnableTrackChanges="false">

                <DocumentEditorContainerEvents Created="OnCreate"></DocumentEditorContainerEvents>

            </SfDocumentEditorContainer>



copyPaste1.png 


Please note we had this feature in our legacy app using syncfusion vue js


5 Replies 1 reply marked as answer

DS Dhanush Sekar Syncfusion Team October 9, 2024 12:37 PM UTC

Hi Ahmed,


We are able to replicate the reported issue and are validating it currently. We will update further details on this by October 11, 2024.


Regards,

Dhanush S



AS Ahmed Samy replied to Dhanush Sekar October 9, 2024 02:55 PM UTC

Hi  Dhanush Sekar,

Thanks for your prompt reply



NA Niranjan Anumuthu Syncfusion Team October 11, 2024 12:52 PM UTC

Hi Ahmed, 
We have confirmed the reported issue Unable to copy highlighted text from word processor when RestrictEditing property is true' as a defect and logged a defect report. We will fix this issue in our patch release, which is expected on October 29,2024.
You can track the status of the bug through the below feedback link:
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,
Niranjan.N.A.


AS Ahmed Samy replied to Niranjan Anumuthu October 30, 2024 08:50 AM UTC

Hello  Niranjan Anumuthu,


any updates ?


I am not able to track status from link in previous reply. I am getting access denied



NA Niranjan Anumuthu Syncfusion Team November 1, 2024 07:12 AM UTC

Hi Ahmed,

We are glad to announce that our patch release (v27.1.57) has been rolled out successfully. In this ‎release, we have added the fix for the issue 'Unable to copy highlighted text from word processor when RestrictEditing property is true'.

 

Please upgrade to the latest version packages to resolve this issue:‎

 

NPM link:

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

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

https://www.npmjs.com/package/@syncfusion/ej2-angular-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:

Unable to copy highlighted text from word processor when RestrictEditing property is true in JavaScript | Feedback Portal (syncfusion.com)

Please let us know if you need any further assistance.

 

Root cause:

In ContextMenu.razor file we want to check the isReadOnly if condition for copy in contextMenuOpened method to enable the copy.


Marked as answer
Loader.
Up arrow icon