Customize Author view based on metadata field in topic
Post here questions and problems related to editing and publishing DITA content.
-
- Posts: 295
- Joined: Wed Jun 17, 2015 10:19 am
Customize Author view based on metadata field in topic
Post by ann.jensen »
Hi,
Is there any way to visually flag a topic as being highly sensitive so that when an author opens it in XML Editor, the Author view will show some highlighting or change in colour or warning icon to tell the author that this is a highly sensitive topic?
Any advice appreciated,
Regards,
Ann
Is there any way to visually flag a topic as being highly sensitive so that when an author opens it in XML Editor, the Author view will show some highlighting or change in colour or warning icon to tell the author that this is a highly sensitive topic?
Any advice appreciated,
Regards,
Ann
Re: Customize Author view based on metadata field in topic
Hi Ann,
How about if you set an @outputclass attribute on the topic root element? Something like:
Then add an extra CSS for editing:
https://blog.oxygenxml.com/topics/customizeDITACSS.html
The CSS could add a selector like this maybe:
Regards,
Radu
How about if you set an @outputclass attribute on the topic root element? Something like:
Code: Select all
<topic outputclass="important"..>
...
https://blog.oxygenxml.com/topics/customizeDITACSS.html
The CSS could add a selector like this maybe:
Code: Select all
:root[outputclass='important']:before{
color: red;
content: "PROCEED WITH CAUTION";
}
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
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)
- ↳ 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