Embed Video - Enter key duplicates content

When you embed a video with HTML and then move your cursor before the video and hit Enter, the html/video is copied/recreated again.

Please see this video I recorded on your website:
https://www.loom.com/share/48633f60128940e5bb7767f134201cec

Example embed HTML from YouTube:

<iframe width="560" height="315" src="https://www.youtube.com/embed/SJBCHi1DMKo?si=eTiyLdMVzckZbhGm" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>


2 Replies

VJ Vinitha Jeyakumar Syncfusion Team October 29, 2025 10:31 AM UTC

Hi Brian Pautsch



We have considered the reported issue "Pressing Enter Before a Video Duplicates It in the Blazor Rich Text Editor" as a bug from our end, and the fix for the issue will be included in our upcoming weekly patch release scheduled for the 2nd week of November 2025.

 


Regards,
Vinitha



VJ Vinitha Jeyakumar Syncfusion Team November 17, 2025 05:36 AM UTC

Hi Brian Pautsch,



We have included the fix for the reported issue "Pressing Enter Before a Video Duplicates It in the Blazor Rich Text Editor" with our weekly patch release version 31.2.10. Please upgrade your package to the latest version to resolve the issue from your end.





Root Cause: 
The reported issue of duplication occurs because the enterHandler function creates a new element and appends all child nodes from newElem without properly validating the container. The original condition did not handle .e-video-clickelem correctly, causing the video wrapper to be treated as an empty block and duplicated.

Regards,
Vinitha

Loader.
Up arrow icon