Hello,
Follow these steps to reproduce the bug:
1- Use the latest RTE component: v28.2.11
2- Use such an iFrameSetting:
<ejs-richtexteditor [iframeSettings]="rteIFrameSettingModel".....></ejs-richtexteditor>
public rteIFrameSettingModel: IFrameSettingsModel = { enable: true };
3- Switch to HML mode, and insert this code in the richtext (unescape the code if it's shown as escaped in the formular):
<p>line1</p><blabla>line2</blabla><p>line3</p>
4- Switch back to the WYSIWYG interface
Put the cursor after the word "line2"
Paste any excel table
--> this will not copy the table and generate this frontend error:
Uncaught TypeError: c.closest is not a function at h.insertTempNode (ej2-richtexteditor.es5.js:7204:40)
Note that it's even worse if we don't use an iframeSettings, because the same scenario would then completely block the richtext component.
That's true when there is any custom markup like <blabla>line2</blabla> or <test>line2</test> ...
other effect: If you put the cursor after the word "line2", then press enter, and paste the excel table, then the excel table is pasted on the top of "line1".
Thanks for your support,
Yvan Blancmunier