Implement contenteditable="plaintext-only" and ship it in the Nightly channel
Categories
(Core :: DOM: Editor, task)
Tracking
()
People
(Reporter: masayuki, Assigned: masayuki)
References
(Blocks 9 open bugs, )
Details
(4 keywords, Whiteboard: [h2review-noted])
Attachments
(1 file)
Assignee | ||
Updated•1 month ago
|
Assignee | ||
Comment 1•1 month ago
|
||
Let's enable contenteditable=plaintext-only
only in the Nightly channel to
collect bug reports from the testers.
Depends on D224578
Comment 2•1 month ago
|
||
Once this lands, it should be documented at https://developer.mozilla.org/en-US/docs/Mozilla/Firefox/Experimental_features and the browser compat data should be updated and reference this bug. Pref is dom.element.contenteditable.plaintext-only.enabled
.
Sebastian
Comment 4•1 month ago
|
||
bugherder |
Comment 6•1 month ago
|
||
bugherder |
Comment 7•27 days ago
|
||
:masayuki could you consider nominating this for a release note? (Process info)
We could include it in the nightly only release notes.
Assignee | ||
Comment 8•27 days ago
•
|
||
Release Note Request (optional, but appreciated)
[Why is this notable]: A new feature of contenteditable
which only Firefox has not supported yet.
[Affects Firefox for Android]: Yes.
[Suggested wording]: Basic features of contenteditable="plaintext-only"
are now supported and enable only in the Nightly channel. However, we still use <br>
elements for line breaks in contenteditable="plaintext-only"
even when white-space
is pre
, pre-line
or pre-wrap
. Therefore, textContent
of editing host returns one line text even there are multiple lines in it. This issue is handled in bug 1922724.
[Links (documentation, blog post, etc)]: Spec: https://html.spec.whatwg.org/multipage/interaction.html#attr-contenteditable-plaintextonly
Comment 9•26 days ago
|
||
Thanks, added to the Fx133 nightly release notes, please allow 30 minutes for the site to update.
Description
•