placeholder

A placeholder is a little piece of text that Xopus adds to a newly created element so that the author can see where the new element is created. 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>

placeholder element

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

Attributes

xml:lang
If you want to configure different placeholder texts for different languages, use multiple <placeholder> elements, each with a different xml:lang value. (Optional)

Parent Elements

node

History

version event
Xopus 4.1 Introduction. (Case 12295)