Edit online

XHTML Author Mode Actions

A variety of actions are available for XHTML documents that can be found in XHTML menu, toolbar, contextual menu, and the Content Completion Assistant.

XHTML Toolbar Actions

The following default actions are available on the XHTML toolbar when editing in Author mode (by default, they are also available in the XHTML menu and some of them are in various submenus of the contextual menu):

Bold
Changes the style of the selected text to bold by surrounding it with the <b> tag. You can use this action on multiple non-contiguous selections.
Italic
Changes the style of the selected text to italic by surrounding it with <i> tag. You can use this action on multiple non-contiguous selections.
Underline
Changes the style of the selected text to underline by surrounding it with <u> tag. You can use this action on multiple non-contiguous selections.
Link
Inserts an <a> element with an @href attribute at the cursor position. You can type the URL of the reference you want to insert or use the browsing actions in the Browse drop-down menu.
Insert Image
Inserts a graphic object at the cursor position. This is done by inserting an <img> element regardless of the current context. The following graphical formats are supported: GIF, JPG, JPEG, BMP, PNG, SVG.
Headings Drop-down Menu
A drop-down menu that includes actions for inserting <h1>, <h2>, <h3>, <h4>, <h5>, <h6> elements.
Insert Definition List
Inserts a definition list (<dl> element) with one list item (a <dt> child element and a <dd> child element). You can also use this action to convert selected paragraphs or other types of lists to a definition list.

XHTML Contextual Menu Actions

The following actions are available in the contextual menu when editing in Author mode (most of them are also available in the XHTML menu at the top of the interface):

Edit Attributes
Displays an in-place attributes editor that allows you to manage the attributes of an element.
Insert submenu

This submenu includes the following insert actions:

Insert Link
Inserts an <a> element with an @href attribute at the cursor position. You can type the URL of the reference you want to insert or use the browsing actions in the Browse drop-down menu.
Insert Equation
Opens the XML Fragment Editor that allows you to insert and edit MathML notations.
Insert Paragraph
Inserts a new paragraph element at current cursor position.
Headings Drop-down Menu
A drop-down menu that includes actions for inserting <h1>, <h2>, <h3>, <h4>, <h5>, <h6> elements.
Insert Entity
Allows you to insert a predefined entity or character entity. Surrogate character entities (range #x10000 to #x10FFFF) are also accepted. Character entities can be entered in one of the following forms:
  • #<decimal value> - e.g. #65
  • &#<decimal value> - e.g. &#65
  • #x<hexadecimal value> - e.g. #x41
  • &#x<hexadecimal value> - e.g. &#x41
Style submenu
This submenu includes the following text styling actions:
Table actions

The following table editing actions are available in the contextual menu when it is invoked on a table:

Other Actions submenu
This submenu give you access to all the usual contextual menu actions.
Text submenu

This submenu contains the following actions:

To Lower Case
Converts the selected content to lower case characters.
To Upper Case
Converts the selected content to upper case characters.
Capitalize Sentences
Converts to upper case the first character of every selected sentence.
Capitalize Words
Converts to upper case the first character of every selected word.
Count Words
Counts the number of words and characters (no spaces) in the entire document or in the selection for regular content and read-only content.
Note:
The content marked as deleted with change tracking is ignored when counting words.
Refactoring submenu

Contains a series of actions designed to alter the XML structure of the document:

Review submenu

This submenu includes the following actions:

Track Changes
Enables or disables the Track Changes support for the current document.
Accept Change(s) and Move to Next
Accept All Changes
Reject Change(s) and Move to Next
Reject All Changes
Highlight
Enables the highlighting tool that allows you to mark text in your document.
Colors
Allows you to select the color for highlighting text.
Stop highlighting
Use this action to deactivate the highlighting tool.
Remove highlight(s)
Use this action to remove highlighting from the document.
Manage Reviews
Opens the Review view.
Folding submenu

This submenu includes the following actions:

About Element > Go to Definition

Moves the cursor to the definition of the current element.

Inspect Styles
Opens the CSS Inspector view that allows you to examine the CSS rules that match the currently selected element.
Options
Opens the Author mode preferences page where you can configure various options with regard to the Author editing mode.

XHTML Drag/Drop (or Copy/Paste) Actions

Dragging a file from the ProjectProject Explorer view and dropping it into an XHTML document that is edited in Author mode, creates a link to the dragged file (the <a> element with the @href attribute) at the drop location. Copy and paste actions work the same.

You can also drag images or media files from your system explorer or the ProjectProject Explorer view and drop them into an XHTML document (or copy and paste). This will insert the appropriate element at the drop or paste location (for example, dropping/pasting an image will insert the <img> element with the @src attribute).

Note: