Closed Bug 1922723 Opened 22 days ago Closed 17 days ago

Implement contenteditable="plaintext-only" and ship it in the Nightly channel

Categories

(Core :: DOM: Editor, task)

task

Tracking

()

RESOLVED FIXED
133 Branch
Tracking Status
relnote-firefox --- nightly+
firefox133 --- fixed

People

(Reporter: masayuki, Assigned: masayuki)

References

(Blocks 9 open bugs, )

Details

(4 keywords, Whiteboard: [h2review-noted])

Attachments

(1 file)

No description provided.

Let's enable contenteditable=plaintext-only only in the Nightly channel to
collect bug reports from the testers.

Depends on D224578

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

Keywords: dev-doc-needed
Pushed by masayuki@d-toybox.com: https://hg.mozilla.org/integration/autoland/rev/99d9463b36e5 Enable `contenteditable=plaintext-only` only in the Nightly channel r=m_kato
Status: ASSIGNED → RESOLVED
Closed: 17 days ago
Resolution: --- → FIXED
Target Milestone: --- → 133 Branch
Pushed by csabou@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/32c1380021ab remove contenteditable/plaintext-only.html.ini as the tests are passing. a=test-only

:masayuki could you consider nominating this for a release note? (Process info)
We could include it in the nightly only release notes.

Flags: needinfo?(masayuki)

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

relnote-firefox: --- → ?
Flags: needinfo?(masayuki)

Thanks, added to the Fx133 nightly release notes, please allow 30 minutes for the site to update.

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: