When to use it. Formatted text: an article body, a description with bold, lists and links.
What the editor sees. The WordPress text editor, with the toolbar you chose (Basic, Full or Minimal), and tabs Visual and Code.

| Name in files and code | wysiwyg |
ugly_get() gives |
Ready HTML, with paragraphs and shortcodes. |
| Behavior | can be required; can share a line with other fields |
Settings
| Setting | What it does | Default |
|---|---|---|
| Editor tabs | Choices: {'value': 'all', 'label': 'Visual & Text'}, {'value': 'visual', 'label': 'Visual only'}, {'value': 'text', 'label': 'Text only (HTML)'}. |
all |
| Toolbar | Choices: {'value': 'basic', 'label': 'Basic (bold, italic, lists, alignment, links)'}, {'value': 'full', 'label': 'Full (headings, alignment, colors...)'}, {'value': 'minimal', 'label': 'Minimal (bold, italic, link)'}. |
basic |
| Allow adding images and files | On | |
| Start the editor when it is clicked | The editor starts only when someone asks for it. A page with many editors opens faster. | Off |
| Height (rows) | 8 |
In your theme
// Ready HTML, with paragraphs and shortcodes:
echo ugly_get( 'body' );
// Or, to be safe by the rules of a post:
<div class="prose"><?php ugly_show( 'body' ); ?></div>Good to know
- It gives ready HTML: paragraphs added, shortcodes run.
- Your own toolbars are added with the filter
ugly_editor_toolbars. See Hooks. - The look of the editor follows your theme:
add_editor_style(),tiny_mce_before_initandmce_buttonsreach these editors too, also inside rows and blocks. - Start the editor when it is clicked loads the editor only when the person clicks it. Good for a repeater with many rows.