User story: N/A
We have this:
When users start typing in one of the structured data fields (currently only captions or depicts), and attempt to leave the page either via link, browser navigation, etc, there is no warning about losing their work. We do show that warning for wikitext fields.
We want this:
Show the standard existing warning for Structured data fields too.
Screenshots (if possible):
Acceptance Criteria:
- If the user makes changes in ANY structured data field (captions, depicts, or any of the fields upcoming) and they don't publish those changes before taking an action that would take them away from the page, our existing warning alert is shown (see screenshot above)