Target oxy_comment PIs with CSS rules?
Are you missing a feature? Request its implementation here.
-
- Posts: 24
- Joined: Tue May 05, 2020 9:57 am
- Location: Tübingen, Germany
- Contact:
Target oxy_comment PIs with CSS rules?
Is it possible to target the processing instructions "oxy_comment_start" and/or "oxy_comment_end" with a CSS rule in a framework, or do those processing instructions have a special status, due to their nature of being firmly built into oXygen and therefore cannot be modified?
It seems with a CSS rule like the following I couldn't add anyting to the comment display in author mode of oXygen v25:
Also something as simple as this doesn't seem to work:
It seems with a CSS rule like the following I couldn't add anyting to the comment display in author mode of oXygen v25:
Code: Select all
oxy|processing-instruction[oxy_comment_start]::before {
color: red;
display: block;
content: "Here's my general message about your usage of oXygen comments..."
}
Code: Select all
oxy|processing-instruction[oxy_comment_start] {
display: none;
}
-
- Posts: 9434
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Target oxy_comment PIs with CSS rules?
Hello Kay,
Such Oxygen specific change tracking, comment and highlight processing instructions once loaded in the Author mode disappear as processing instruction nodes, they remain as special highlights which cannot be matched from the CSS.
We have special Java based APIs which would allow taking control over how these highlights are painted and displayed.
Regards,
Radu
Such Oxygen specific change tracking, comment and highlight processing instructions once loaded in the Author mode disappear as processing instruction nodes, they remain as special highlights which cannot be matched from the CSS.
We have special Java based APIs which would allow taking control over how these highlights are painted and displayed.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
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