-
-
Notifications
You must be signed in to change notification settings - Fork 330
Open
Milestone
Description
Describe the bug
When inserting an image (or other media, such as a drawing) into the editor, it will produce an extra element after the media. This element appears to take on the properties (i.e. block type, styles, classes) of the element that should follow the media. It contains a <br>
.
To Reproduce
Steps to reproduce the behavior:
- Go to official demo: http://suneditor.com/v3/cdn_test.html
- Enter some basic text, change it from paragraph to a heading to make the problem more obvious
- Insert media
- Check source code
Expected behavior
Inserting media should only produce HTML required for the media
Screenshots
Here is a video recording:
brave_ARegtUrFqj.mp4
Desktop (please complete the following information):
- OS: Windows 11
- Browser brave
- Version 1.80.122
Additional context
N/A
JiHong88
Metadata
Metadata
Assignees
Labels
No labels