Non-well-formed XML disappears
Not sure if this is a bug or a feature, so if this is intended (or connected to #203 (closed)), feel free to close this issue!
Non-well-formed XML added in Raw XML editor will result in a pop-up warning the user about non-well-formed XML and all changes made to the Raw XML will disappear.
Expected Behaviour
Changes to the Raw XML remain, even if they result in non-well-formed XML.
Steps to Reproduce (for bugs)
- Open an XML document in LWC
- Select 'Edit' on the Raw XML tab
- Add several changes to the Raw XML, some well-formed, some not (for example, a closed tag such as without an open tag).
- Select 'Change' to close the Raw XML editor. This will result in a pop-up warning against non-well-formed XML.
- Return to the Raw XML tag, where all changes, well-formed or not, will have disappeared.