Sometimes Paste content on rich text, when can't edit this content

HI Synfusion team.

Sometimes When I paste text on rich text, I don't input or edit text on rich text

I don't see html tag:

<div class="e-content e-lib e-keyboard" id="richtexteditor_1979972492_0_rte-edit-view" _ngcontent-serverapp-c323="" contenteditable="true" tabindex="0"></div>

see img: 



Do you have a way to solve that Issue??

Thanks for your support.

Regards.



7 Replies

VJ Vinitha Jeyakumar Syncfusion Team June 1, 2022 08:05 AM UTC

Hi Lam,


We have tried to reproduce the reported issue by pasting some contents into the Rich Text Editor. but we didn't face any issues as you reported. we have also prepared a sample for your reference,


Can you please share the below details,

  • Your package version.
  • Exact issue reproducing steps to replicate the issue on our end.
  • Share the content you have pasted to replicate the issue.
  • If possible please share us with the runnable issue reproducing sample or modify the attached sample with the issue reproducing code.

Regards,
Vinitha


LL Lam Le replied to Vinitha Jeyakumar June 7, 2022 06:50 AM UTC

Hi Vinitha,

Thanks, for your support.

1.Package version of all syncfusion control:

"@syncfusion/ej2-angular-buttons": "19.4.55",

"@syncfusion/ej2-angular-calendars": "19.4.56",

"@syncfusion/ej2-angular-charts": "19.4.54",

"@syncfusion/ej2-angular-dropdowns": "19.2.55",

"@syncfusion/ej2-angular-gantt": "19.2.62",

"@syncfusion/ej2-angular-grids": "19.4.56",

"@syncfusion/ej2-angular-inputs": "19.2.55",

"@syncfusion/ej2-angular-kanban": "19.4.52",

"@syncfusion/ej2-angular-navigations": "19.2.55",

"@syncfusion/ej2-angular-richtexteditor": "19.2.55",

"@syncfusion/ej2-angular-splitbuttons": "19.2.55",

"@syncfusion/ej2-dropdowns": "19.4.38",

2. Source code Richtext HTML:

<ejs-richtexteditor style="height: 100%;" #customRTE [saveInterval]="250" [pasteCleanupSettings]='{deniedTags: null}'
[spellcheck]="false" [enableHtmlSanitizer]="false" [iframeSettings]='{ enable: false }'>
ejs-richtexteditor>

3. Sometimes, I copied any text and paste it into richtext have this issue. When I setting iframeSettings = '{ enable: true}', Our Tester haven't this issue. If I change iframeSettings = '{ enable: false} sometimes have this issue. I think mode enabled iframeSettings= false has a problem. Can you check this issue when enabled iframeSettings= false for me?.


Regards,

Lam


VJ Vinitha Jeyakumar Syncfusion Team June 8, 2022 12:07 PM UTC

Hi Lam,


We used the code you have shared in the V19.2.55 and tried to replicate the issue by setting iframeSettings = { enable: false}, but we didn't face any issues while pasting and editing the pasted contents into the Rich Text Editor. We have also prepared a sample for your reference,


Please provide us with the exact issue reproducing steps, Content you have pasted into the Rich Text Editor to replicate the issue and if possible, please provide the issue reproducing runnable sample.

Regards,
Vinitha


LL Lam Le replied to Vinitha Jeyakumar August 8, 2022 10:34 AM UTC

Hi Vinitha,

Thanks, for your support.

Step by step for the issue:

- Step 1: Click focus form editor

- Step 2: Open Notepad and copy some word

- Step 3: Come back from the editor and paste the word

It changed from rtc_view_edit to rtc_view

123.PNG
to
234.PNG

Samplehttps://stackblitz.com/edit/angular-jhafn9?file=app.component.html
Regards,

Lam


Attachment: editor_issue_aecb3609.zip



VJ Vinitha Jeyakumar Syncfusion Team August 9, 2022 01:28 PM UTC

Hi Lam,

We can able to replicate the reported issue in the V19.2.55. But the reported issue has been resolved internally in the version 19.2.57 and above. So please upgrade your package to the latest to resolve the issue from your end.


Regards,
Vinitha




LL Lam Le August 22, 2022 09:48 AM UTC

Hi Vinitha,

It works well in the V19.2.55. Thanks, for your support. I've been busy these days.
I'm sorry for the late reply.

Regards,
Vinitha



VJ Vinitha Jeyakumar Syncfusion Team August 23, 2022 05:02 AM UTC

Hi Lam,


We are glad to assist you.

Regards,
Vinitha

Loader.
Up arrow icon