By default, four views are available in WebTextEditor: Design view, HTML view, Split view, and Preview. In Design view, user can view and edit the content visually, while in HTML view, user can view and edit the content in HTML mode. In Split view, the editing area will be split into two areas: the top area will show Design view while the bottom area will display HTML view. When Preview mode is active, user can view the content before it is further processed.
The four views can be enabled and disabled using the following properties in ViewSettings:
- EnableDesignView
Specifies whether or not Design view is enabled.
- EnableHTMLView
Specifies whether or not HTML view is enabled.
- EnableSplitView
Specifies whether or not Split view is enabled.
- EnablePreview
Specifies whether or not Preview view is enabled. This property is not enabled by default.