==== What is the problem?
If I have recovery data for a whole page and I am editing a section of the same page, when I save the section it clears data for the whole page but not for the section.
Further to T344410#9278606, sections and whole pages should be cleared independently.
==== Steps to reproduce problem
# Go to https://en.wikipedia.beta.wmflabs.org/w/index.php?title=New_Page_123&action=edit
# Make an edit (but don't save) and then close the tab
# Go to https://en.wikipedia.beta.wmflabs.org/w/index.php?title=New_Page_123&action=edit§ion=1
# Make an edit and save
# Reopen https://en.wikipedia.beta.wmflabs.org/w/index.php?title=New_Page_123&action=edit
**Expected behaviour:** The edit you made in step 2 should be recovered.
**Observed behaviour:** It is not. If you look in IndexedDB in devtools, you will notice the entry for the section (`New_Page_123,1`) has not been cleared.
==== Environment
**Browser:** Firefox 115. Chromium 119.
**Wiki(s):** https://en.wikipedia.beta.wmflabs.org MediaWiki 1.42.0-alpha (d8b8d9d) 07:18, 27 November 2023.
**Editor:** WikiEditor 0.5.4 (89e5491) 07:33, 27 November 2023.