TEI P5 Author Mode Actions
A variety of actions are available for TEI P5 documents that can be found in TEI P5 menu, toolbar, contextual menu, and the Content Completion Assistant.
TEI P5 Toolbar Actions
The following default actions are available on the TEI P5 toolbar when editing in Author mode (by default, they are also available in the TEI P5 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
<hi>
tag and setting the@rend
attribute to bold. You can use this action on multiple non-contiguous selections. Italic
- Changes the style of the selected text to italic by surrounding it
with the
<hi>
tag and setting the@rend
attribute to italic. You can use this action on multiple non-contiguous selections. Underline
- Changes the style of the selected text to underline by surrounding
it with the
<hi>
tag and setting the@rend
attribute to ul. You can use this action on multiple non-contiguous selections. Insert Section
- Inserts a new section or subsection, depending on the current context. For example,
if the current context is
div1
, then adiv2
is inserted. By default, this action also inserts a paragraph element as a child node.
TEI P5 Drag/Drop Actions
Dragging a file from the ProjectProject Explorer view and
dropping it into a TEI P5 document that is edited in Author mode,
creates a link to the dragged file (the <ptr>
element with the
@target
attribute) at the drop location. Dragging an image file from the
default file system application (Windows Explorer on Windows or Finder on macOS, for
example) and dropping it into a TEI P5 document inserts a graphic element (the
<graphic>
element with the @url
attribute) at the
drop location, similar to the Insert Image toolbar action.