Edit online

Collapse Text: -oxy-collapse-text Property Value

Used to collapse the content of an element.

Oxygen XML Editor allows you to set the value of the visibility property to -oxy-collapse-text, meaning that the content of that element is not rendered. If an element is marked as -oxy-collapse-text you are not able to position the cursor inside it and edit it. The purpose of -oxy-collapse-text is to make the text value of an element editable only through a form control.

Example: visibility Property

The text value of an XML element will be edited using a text field form control. In this case, the text content is not directly present in the Author visual editing mode:
title{
 content: oxy_textfield(edit, '#text', columns, 40);
 visibility:-oxy-collapse-text;
}