7 Editing with Pressbooks
To get started editing your book in Pressbooks, it may be best to understand the two editing screens in Pressbooks and how they function. This section will help get you acquainted with the two different types of editors you will find in Pressbooks: the visual editor and the code editor. Both editors function like your common word processor with a variety of toolbar options. The following section will go into more detail about what these toolbar features are and how you can use them.
Visual Editor
The visual editor is the default editor. It is a WYSIWYG (What You See Is What You Get) interface that allows you to see styling and formatting as they are applied.
This interface also includes a toolbar at the top of the editor. Below is a guide to each of the toolbar functions, and where you’ll find them.

Toolbar options:
- Paragraph styles dropdown menu. Choose from normal paragraph style, six different heading styles, or preformatted text
- Bold
- Italic
- Bulleted list
- Numbered list
- Blockquote
- Align left
- Align center
- Align right
- Insert/edit link
- Insert Read More tag
- Toolbar Toggle
- Distraction-free writing mode
- Formats dropdown menu. Choose from several indent, tracking, and pullquote options
- Textboxes dropdown menu. Choose from a variety of plain textboxes or predesigned educational textboxes
- Underline
- Strikethrough
- Horizontal line
- Justify
- Text color
- Text background color
- Paste as text
- Clear formatting
- Special character
- Decrease indent
- Increase indent
- Undo and redo
- Keyboard shortcuts
- Table
- Apply class
- Anchor
- Superscript
- Subscript
- Code
- Insert footnote
- Convert MS Word footnotes
- Insert LaTeX
- Insert glossary term
You can highlight a section of existing content and then click a tool on the toolbar to add formatting to that section. Alternatively, select the tool first, and then add new content.
Code Editor
As an alternative to the visual editor, you can also work in a code editor, or switch to it as necessary for specific needs. Here, you can view and edit the HTML version of any text written and formatted in the visual editor, and you can also write directly in HTML, using the toolbar as necessary.

The code editor toolbar offers fewer options, tailored to working in HTML. They are detailed below:
- b – Open and close <strong> tags to make text bold (click once to open and again to close the tag)
- i – Open and close <em> tags to make text italicized
- link – Link text (a pop up will appear)
- b-quote – Insert the blockquote tags
del– Strikethrough text (also adds a date and time marker)- ins – Insert a date/time tag
- img – Insert an image (from URL)
- ul – Insert a bulleted list
- ol – Insert a numbered list
- li – Add list item
- code – Open and close <code> tags, to style text as code
- more – Insert a ‘Read More’ tag (beta)
- close tags – Close tags (automatically closes any open tags)
- fn – Open and close footnote shortcode
- Distraction-free writing mode
This chapter is adapted from the Pressbooks User Guide, Chapter 24: Visual & Text Editors, published under a Creative Commons Attribution 4.0 International License.