Using the Text Editor

This documentation covers the Text Editor.

The text editor is one of the major parts of the content editor page. We have separate documentation for the content editor page which you might want to check out. The difference between this article and that one is that the latter doesn't cover the text editor in-depth and it also covers the sidebar widgets and editor tabs and how they all work together.

With that out of the way, let's get started!

We've divided the text editor into six parts to make it easier to tackle things.

  1. Menu bar
  2. Formatting toolbar
  3. Standard toolbar
  4. Text area
  5. Element status bar
  6. Word count

Menu Bar

The menu bar contains the tools you can use to manage your article content.

Currently, the menu bar holds the following menu items: File, Edit, View, Insert, Format, Tools, and Table. Let's take a better look at each of them.

File

The file menu contains New document, Preview, and Print.

  • New document - clears the content of the entire text area. You can use undo or Ctrl + Z on your keyboard if you accidentally clicked this while working on something.
  • Preview - previews how the content looks like as a basic webpage.
  • Print - prints the content of the text area.

Edit

The edit menu contains the tools for copying, pasting, and selecting elements in the text area.

  • Undo - undo the last change you've made.
  • Redo - redo the last undo you've made.
  • Cut - cuts the highlighted element(s) in the text area.
  • Copy - copies the highlight element(s) in the text area to your clipboard.
  • Paste - pastes the content of your clipboard to the text area. If you captured a screenshot using the "print screen" function of your computer, you can paste it directly to the text area using the shortcut key combination Ctrl + V. Your screenshot gets instantly uploaded without having to explicitly use the upload tool. However, keep in mind that it will use a random filename, which can be an issue if you want to use descriptive filenames for your images.
  • Paste as text - this is a toggle. If turned on, any rich text (i.e. text copied from a rich text editor like Microsoft Word or text from an external website) you copy will be pasted as plain text (removes all formatting) to the text editor.
  • Select all - selects the entire content of the text editor.
  • Find and replace - find all instances of a string of text and optionally replace it with something else.

View

The view menu contains options for changing how the text editor displays its content.

  • Source code - displays the source code editor. You can edit it to add custom HTML elements to the content.
  • Visual aids -  visual aid for borderless tables. If the border of a table is set to "0", then TinyMCE adds a dotted line around the table by default.
  • Show blocks - displays the boundaries between element blocks like paragraphs, images, headings, and other elements.
  • Preview - previews how the content looks like as a basic webpage.
  • Fullscreen - puts the text editor in fullscreen mode (a.k.a distraction-free mode).

Insert

The insert menu has tools that let you add certain elements to the text. You can use this to add links, videos, images, special characters, etc.

  • Image - allows you to insert or upload an image wherever the cursor is on the text area.
  • Link - allows you to add hyperlinks on the text area (or add it as a clickable link if an element is highlighted).
  • Media - allows you to add a video from an external URL or a video embed code to your content.
  • Table - allows you to insert a table to wherever the cursor is on the text area.
  • Special character - this tool brings up a table containing various special characters that you can click on to insert into the text area.
  • Horizontal line - adds a horizontal line to wherever the text cursor is currently at.
  • Table of Contents - generates a table of contents element based on your article's headings. A live example would be this documentation's table of contents above.

Format

The format menu contains tools that allow you to manipulate an element's formatting.

When you activate a formatting option without a selected text (for example bold), the text you'll type will follow the option you've just activated unless you deactivate it.

Tools

The tools menu contains the source code editor and word counters.

  • Source code - view and edit the content's source code.
  • Word count - shows word and character count of the entire document or a selection.

Table

Tools for building and formatting tables.

  • Table - used to define a table with Column * Row dimensions that'll be inserted into wherever the text cursor currently is.
  • Cell - contains options for manipulating a single cell.
  • Row - contains options for inserting, deleting, and manipulating rows.
  • Column - contains options for inserting, deleting, and manipulating columns.
  • Table properties - contains options for editing the current table's properties such as the width, background color, border style, and other parameters.
  • Delete table - completely deletes the currently selected table or whatever table your text cursor is currently at.

Formatting Toolbar

The formatting toolbar contains shortcut icons for the most commonly used formatting tools. This way, you don't have to dig deep into the menu bar to find them.

It gives quick access to the following:

  • Undo and redo
  • Text formatting
  • Text alignment
    • Left, Center, Right alignments
  • Inline text formatting options
    • Bold
    • Italic
    • Underline
    • Text color
    • Background color
    • Clear all formatting
  • Insert bullet list
  • Insert numbered list
  • Decrease indent
  • Increase indent

Standard Toolbar

The standard toolbar contains shortcut icons to additional frequently used tools as well as the icons for tracking text edits. Learn about text change tracking here.

From left to right, we have:

  1. Insert/edit link
  2. Remove link
  3. Insert image
  4. Insert media
  5. Insert/ edit table
  6. View source code
  7. Fullscreen
  8. Insert comment
  9. Track changes toggle
  10. Show/hide changes
  11. Accept (a single change) and a dropdown to accept all changes
  12. Reject (a single change) and a dropdown to reject all changes

Text area

Let's take a look at some of the tips and tricks you can use with our text editor.

Adding Links

  1. Select the text you want to add a link to.
  2. A menu will appear.
  3. Click the "insert/edit link" icon and the window below will appear.

  • Put your link's URL in the URL field.
  • Optionally, if you're adding a new link from scratch (there's no selected text), add the anchor text you want to use for your link in the Text to display field.
  • You can define an optional title in the Title field. This will appear as a tooltip on mouseover.
  • You can also choose to have the link open in a new window by setting the option in the Open link in... field.
  • You can link to any of the currently attached files by clicking icon next to the URL field.

Adding Comments

You can add comments to any element in the text area by highlighting them and clicking on the Insert comment icon.

You can add links or mention another user via comments. Any links will be automatically converted into a clickable hyperlink. To mention a user, use "@" then type their name.

Element Status Bar

This shows the HTML of the element where the blinking cursor is located. You can click on it to select the element in the editor.

Word Count

Displays the article's total word count. Clicking it switched to character count.

That's everything you need to know about our text editor. You should now be able to use it to its fullest!

Now, why don't you check out the documentation for the content editor page next? This one will cover the sidebar widgets and editor tabs so you can take your skills to the next level.