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
- Create a form with a contenteditable div inside it.
- Enter some content in the contenteditable.
- Submit the form.
- 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.