-
-
Notifications
You must be signed in to change notification settings - Fork 337
Open
Milestone
Description
Describe the bug
I am unable to stop Backspace or Delete key from removing a component, and also se-linebreaker helper appears on top of the component when mouseovering it.
To Reproduce
Steps to reproduce the behavior:
- Add custom HTML into the editing area's root:
<content-viewer2-textinput class="se-component __se__tag" contenteditable="false"><h3>Component title</h3><div>.. additional code </div> </content-viewer2-textinput>- Position cursor either above or below element, and you can remove it with Backspace or Delete
- Hover mouse cursor within the component and we see the "add new line" helper element, and clicking it adds a paragraph inside the component
Expected behavior
The component will not be affected by Backspace or Delete. Add new line helper is not ever visible inside the component.
Desktop (please complete the following information):
- OS: Windows, MacOs
- Browser Chrome
- Version 141
Suneditor version
- v2.47.3
Metadata
Metadata
Assignees
Labels
No labels