Documentation Center

placeholder

This topic describes the placeholder element.

Description

A placeholder is a little piece of text that the editor adds to a newly created element so that the author can see where the new element is created. The placeholder helps visualize the empty element. When the author types some text, the placeholder immediately disappears.

<x:node match="td">
  ...
  <x:placeholder xml:lang="en">New cell</x:placeholder>
</x:node>

Instead of repeating the name of the element, you can use the template {name} inside the placeholder element:

<x:node match="p">
  <x:name>Paragraph</x:name>
  <x:placeholder>New {name}</x:placeholder>
<x:node>

Namespace

http://www.xopus.com/xmlns/config

Attributes

NameDescription and useType
xml:langOptional. If you want to configure descriptions for different languages, use multiple <description> elements, each with a different xml:lang value.2-letter language code

Parent element

node