Description
When using Vector 2022, if you add a new section or modify an existing section heading of an article, and then publish your edit, the table of contents will not reflect the changes you've made. This issue affects both Visual Editor, and the 2017 Wikitext editor (which is based on VE).
Steps to reproduce:
- open an article in edit mode (using either the Visual Editor or the 2017 wikitext editor)
- add a new section
- modify an existing section heading
- publish
- look at the table of contents...it does not show the new section you added, or the modified section heading
TODO
- Make the updated table of contents display after an edit.
- New frontend code has Jest unit tests
Sign off steps
- Make sure jest tests were added