Case ce-0067 · Scenario scenario-form-integration

contenteditable content is not included in form submission

OS: Windows 11 Device: Desktop or Laptop Any Browser: Chrome 120.0 Keyboard: US Status: draft
form submission chrome

Phenomenon

When a contenteditable region is inside a <form>, its content is not automatically included in form submission. Unlike <input> and <textarea>, contenteditable content must be manually extracted and added to the form data.

Reproduction example

  1. Create a form with a contenteditable div inside it.
  2. Enter some content in the contenteditable.
  3. Submit the form.
  4. Inspect the form data to see if contenteditable content is included.

Observed behavior

  • In Chrome on Windows, contenteditable content is not included in form submission.
  • The content must be manually extracted and added.
  • No automatic form integration exists.

Expected behavior

  • Contenteditable content should be included in form submission.
  • Or, there should be a standard way to associate contenteditable with form fields.
  • Form integration should work seamlessly.

Playground for this case

Use the reported environment as a reference and record what happens in your environment while interacting with the editable area.

Reported environment
OS: Windows 11
Device: Desktop or Laptop Any
Browser: Chrome 120.0
Keyboard: US
Your environment

Use this editable area to reproduce the described case.

Event log
Use this log together with the case description when filing or updating an issue.
0 events
Interact with the editable area to see events here.