Text mode is used for plain text editing.
Figure 1. Serna window in Text mode.
Manually fixing invalid XML documents
Changing DOCTYPE declaration of the document
Changing the root element of the document
When you switch between WYSIWYG mode and Text mode, the authoring (undo/redo) history gets lost.
In Text mode, the view of a document in the Editing Window is independent of the document type.