์ผ€์ด์Šค ce-0067 ยท ์‹œ๋‚˜๋ฆฌ์˜ค scenario-form-integration

contenteditable content is not included in form submission

OS: Windows 11 ๊ธฐ๊ธฐ: Desktop or Laptop Any ๋ธŒ๋ผ์šฐ์ €: Chrome 120.0 ํ‚ค๋ณด๋“œ: US ์ดˆ์•ˆ
formsubmissionchrome

์ด ํŽ˜์ด์ง€๋Š” ์•„์ง ๋ฒˆ์—ญ๋˜์ง€ ์•Š์•˜์Šต๋‹ˆ๋‹ค

ํ˜„์žฌ ์˜์–ด ์›๋ฌธ์„ ํ‘œ์‹œํ•˜๊ณ  ์žˆ์Šต๋‹ˆ๋‹ค. ๋ฒˆ์—ญ์— ๊ธฐ์—ฌํ•ด ์ฃผ์‹œ๋ฉด ๊ฐ์‚ฌํ•˜๊ฒ ์Šต๋‹ˆ๋‹ค.

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.