On Firefox, using the tool to insert a table in the 2017 wikitext editor while having CodeMirror syntax highlighting enabled causes the CodeMirror highlighting to break. The highlighting remains broken even if you try to revert the changes via the undo button.
Tested on Firefox 72.0.2 on mediawiki.org (MediaWiki 1.35.0-wmf16). The problem also exists on MediaWiki 1.33.2.