Locking Content

THESE PAGES ARE STILL UNDER CONSTRUCTION AND DO NOT NECESSARELY REFLECT THE CURRENT VERSION OF TÓPICO

To guide authors through some editing tasks, you can lock some content while editing.

Locking an element for editing

Let's say you have a custom div element of class "warning" that you would like to lock for editing once it's inserted in a topic.

Caution

This will make all div of class warning uneditable. Using a class like "warning-lock" might be a better choice

To lock all div of class "warning" for editing, follow these steps:

  1. Select the Content or Topic tab;
  2. Click on the small button beside the stylesheets drop down list;
  3. Select the styles_editor.css stylesheet;
  4. Append the style below at the bottom of the existing ones;
  5. Save the stylesheet.
CSS
div.warning {-xs-lock:yes; background: #A9A9A9;}

With this selector in the editor stylesheet, warnings using the markup <div class="warning">...</div> will be locked in the editor. These warning will also have a dark gray background color, in contrast to what you might have defined in the publishing stylesheet.

Learn more about locking content at the XStandard web site.

THESE PAGES ARE STILL UNDER CONSTRUCTION AND DO NOT NECESSARELY REFLECT THE CURRENT VERSION OF TÓPICO

107 / 194