Triangles indicating nodes
Oxygen general issues.
-
- Posts: 4
- Joined: Wed Aug 24, 2016 9:39 am
Triangles indicating nodes
In oXygen v18 it seems that the triangles indicating nodes come in two types (on a Win10 machine), one where two opposing triangles are aligned with the rest of the text, and another where one triangle resides a little bit under the baseline pointing in the direction of the text. Is it possible to control the appearance of triangles? Our case is that we have two alternate CSSs, one which uses -oxy-collapse-text, where the collapsed nodes appear nicer with the sub baseline triangles.
Best,
Lars G B Johnsen
Best,
Lars G B Johnsen
-
- Posts: 9439
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Triangles indicating nodes
Hi Lars,
Could I get a screenshot for this problem?
We use small triangles in the Author editing mode to represent inline element tags.
What you could try in order to take a little bit of control over the triangles would be to first hide them completely:
and then add :before and :after selectors for the element which add custom images before and after the element like:
Regards,
Radu
Could I get a screenshot for this problem?
We use small triangles in the Author editing mode to represent inline element tags.
What you could try in order to take a little bit of control over the triangles would be to first hide them completely:
Code: Select all
elementName{
-oxy-display-tags:none;
}
Code: Select all
elementName:before{
content : uri(relative/path/to/startImage.png);
}
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 4
- Joined: Wed Aug 24, 2016 9:39 am
Re: Triangles indicating nodes
For your information, here is an image displaying the two types of triangles. The documents are almost the same, though, although one is connected to a TEI-schema.
https://drive.google.com/file/d/0B_pZaS ... sp=sharing
Thanks again for helpful reply!
Best,
Lars
https://drive.google.com/file/d/0B_pZaS ... sp=sharing
Thanks again for helpful reply!
Best,
Lars
-
- Posts: 9439
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Triangles indicating nodes
Hi Lars,
The first triangle type (filled with color) looks like our fold triangle but I'm not sure if it is, maybe it is set by a custom CSS stylesheet that you are using, if you click it does it expand/collapse an element?
The second triangle type (not filled, only has a contour) is the triangle we use to symbolize element tags.
Regards,
Radu
The first triangle type (filled with color) looks like our fold triangle but I'm not sure if it is, maybe it is set by a custom CSS stylesheet that you are using, if you click it does it expand/collapse an element?
The second triangle type (not filled, only has a contour) is the triangle we use to symbolize element tags.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 4
- Joined: Wed Aug 24, 2016 9:39 am
Re: Triangles indicating nodes
Maybe there is some leftover display options from when I tried to fold inline elements, until I discovered only block type elements fold (guess this is still the case?). Anyway, the solution with two CSSs and the styling of triangles work nicely.
Lars
Lars
-
- Posts: 9439
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Triangles indicating nodes
Hi Lars,
Right, this is probably it, indeed inline elements cannot be folded, we have an issue for allowing this and I added your vote for it.
Regards,
Radu
Right, this is probably it, indeed inline elements cannot be folded, we have an issue for allowing this and I added your vote for it.
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