|
Setting Read Only Sections within Documents
You can mark sections of the document as read-only simply putting a readonly attribute like this:
<p readonly="true">
...some content
</p>
or
<div readonly="true">
...some content
</div>
or
<table readonly="true">
...some content
</table>
Note that the attribute readonly="true" should be specified in lowercase.
All page elements containing such an attribute will be treated as read-only and thus not editable.
Enabling text folding features:
If you would like to enable text folding on a certain document elements, you will need to add the following attributes:
<div textfolding="true" initialstate="collapsed | expanded"><h1>Some heading</h1>
<p>The rest of the text here</p>
</div>
|