Automattic / Automattic/jetpack
Contact Form: unsaved changes are lost switching editor modes
- Dominant language
- PHP
- Stars
- 1.8k
- Forks
- 898
- Avg merge
- 1d 18h
- Merged PRs (30d)
- 774
Description
#### Steps to reproduce the issue
1. Create a new post or page
2. Add a contact form in the visual editor
3. Edit the form and add a new field
4. Switch to the text mode in the editor
#### What I expected
A prompt stating there are unsaved changes
#### What happened instead
Unsaved changes are lost
#### Screenshot

Contributor guide
Research direction
Reproduce the loss by creating a post or page, adding a contact form in the visual editor, adding a field, and switching to text mode. Trace the contact-form editor integration and mode switch, then verify that switching modes prompts about unsaved changes and preserves the added field.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, php, wordpress
- Domain
- frontend, web-dev
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100