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.
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:
- Select the Content or Topic tab;
- Click on the small button beside the stylesheets drop down list;
- Select the styles_editor.css stylesheet;
- Append the style below at the bottom of the existing ones;
- Save the stylesheet.
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