Is it possible to make some part of dita topic read-only
Post here questions and problems related to editing and publishing DITA content.
-
- Posts: 14
- Joined: Wed May 25, 2016 4:51 pm
Is it possible to make some part of dita topic read-only
Post by mitpatoliya »
Hi,
I want to check weather it is possible to make some part of dita file read-only?
For instance one dita file contains 3 to 5 paras and I want to make 2&3rd para as read only to protect it from editing. Is it possible to do that?
Thanks in advance.
I want to check weather it is possible to make some part of dita file read-only?
For instance one dita file contains 3 to 5 paras and I want to make 2&3rd para as read only to protect it from editing. Is it possible to do that?
Thanks in advance.
-
- Posts: 517
- Joined: Thu Sep 04, 2014 4:22 pm
Re: Is it possible to make some part of dita topic read-only
Post by cristi_talau »
Hello,
We have a custom CSS property: -oxy-editable which makes certain elements read-only.
You will have to:
- add a special attribute on those elements
- add modify the DITA CSS with a rule that matches on those elements and applies the "-oxy-editable: false" property. Alternatively, you can specify a CSS to be loaded from a plugin [1]
Best,
Cristian
[1] https://www.oxygenxml.com/doc/versions/ ... -extension
We have a custom CSS property: -oxy-editable which makes certain elements read-only.
You will have to:
- add a special attribute on those elements
- add modify the DITA CSS with a rule that matches on those elements and applies the "-oxy-editable: false" property. Alternatively, you can specify a CSS to be loaded from a plugin [1]
Best,
Cristian
[1] https://www.oxygenxml.com/doc/versions/ ... -extension
Return to “DITA (Editing and Publishing DITA Content)”
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ Artificial Intelligence (AI Positron Assistant add-on)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service