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>
Please note we had this feature in our legacy app using syncfusion vue js
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
Hi Dhanush Sekar,
Thanks for your prompt reply
Hello Niranjan Anumuthu,
any updates ?
I am not able to track status from link in previous reply. I am getting access denied
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:
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.