You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<divcontenteditable="plaintext-only"><divcontenteditable="true">rich text allowed</div></div>
Perhaps, initial shipping of contenteditable=plaintext-only of Firefox may depend on the topmost editing host value (i.e., focused editing host) because there are complicated issues.
For example, in the following cases, it's unclear whether rich text or plaintext should be pasted.
<divcontenteditable="true">
[rich text
<divcontenteditable="plaintext-only">plaintext-only]</div></div>
It seems that Chrome considers it from anchor node of selection. So, if you make the above selections with opposite direction, you'll see different result.
The text was updated successfully, but these errors were encountered:
There are 2 simple cases:
Perhaps, initial shipping of
contenteditable=plaintext-only
of Firefox may depend on the topmost editing host value (i.e., focused editing host) because there are complicated issues.For example, in the following cases, it's unclear whether rich text or plaintext should be pasted.
It seems that Chrome considers it from anchor node of selection. So, if you make the above selections with opposite direction, you'll see different result.
The text was updated successfully, but these errors were encountered: