I have a Confluence document with many LaTex math equations. Just now tried to edit a math block macro. When I save the macro edit, and return to the document (still in edit mode), all of the contents except the math block and the table of contents disappears. When I undo the change, the content reverts back.
This only happens when all the contents are inside a "Numbered Headings" block. When I remove the Numbered Headings (by cut & paste into region outside the Numbered Headings block), then edit the math block, everything works normal.
Bottom line: editing LatTex math block inside Numbered Headings block has a bug.