Can't move past non-editable span within contenteditable
Categories
(Core :: DOM: Selection, defect, P4)
Tracking
()
People
(Reporter: nemostrayed, Unassigned)
References
(Blocks 1 open bug)
Details
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36
Steps to reproduce:
- Go to: https://codepen.io/ghostinpeace/pen/MWXNOWz
- Click on the word: 'text'
- With the right arrow, try to go past the word 'span'
Notes: The input field is a contenteditable.
The word 'span' is written within a span that itself is not editable.
Actual results:
You can't go past the word 'span'
Expected results:
You should be able to go past the word 'span', because there is an empty text node there.
It actually works when you click.
Updated•2 years ago
|
Comment 1•2 years ago
|
||
Masayuki, I'm pretty certain that this a P4/S4 but if I'm wrong can you please set correct ones.
Comment 2•2 years ago
|
||
I think it's fine, but I also think this is a bug of Selection
. Although even if Selection
code allows to move caret after it, typing text may be appended to the previous editable text node. Anyway, we need to make Selection
allow to put caret after non-editable node.
Comment 3•2 years ago
|
||
The component has been changed since the backlog priority was decided, so we're resetting it.
For more information, please visit auto_nag documentation.
Updated•2 years ago
|
Description
•