Display placeholer for empty table cells
Oxygen general issues.
Display placeholer for empty table cells
Hi,
In all my empty table cells there is no placeholder displayed - even when I explicitly set by css.
I know I could define a css rule to manually display some content for empty elements. But I'mstill wondering why this seems not to work by default as it does for other elements!?
Thanks and regards,
Patrik
In all my empty table cells there is no placeholder displayed - even when I explicitly set
Code: Select all
-oxy-show-placeholder:always;
I know I could define a css rule to manually display some content for empty elements. But I'mstill wondering why this seems not to work by default as it does for other elements!?
Thanks and regards,
Patrik
Re: Display placeholer for empty table cells
Hi Patrik,
Indeed we are quite reluctant to display the place holder text on the cell (because we considered that it looks ugly) although when you force from the CSS the place holder our code should obey your CSS property. I will add an internal issue for this.
In the meantime you can do something like this from the CSS:
Regards,
Radu
Indeed we are quite reluctant to display the place holder text on the cell (because we considered that it looks ugly) although when you force from the CSS the place holder our code should obey your CSS property. I will add an internal issue for this.
In the meantime you can do something like this from the CSS:
Code: Select all
-oxy-placeholder-content:oxy_name();
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
Re: Display placeholer for empty table cells
Hi Radu,
I agree, that for standard tables (e.g. in DITA) the placeholder is better to be hidden - especially when you have plenty of emptyy cells.
But when using custom XML (or specialized DITA) the placeholder is very useful - especially when you have a schematron rule complaining about empty elements, because without the paceholder there is no content to have the red underline.
However, using -oxy-placeholder-content works fine for me. So I consider this issue to be solved.
Thanks and regards,
Patrik
I agree, that for standard tables (e.g. in DITA) the placeholder is better to be hidden - especially when you have plenty of emptyy cells.
But when using custom XML (or specialized DITA) the placeholder is very useful - especially when you have a schematron rule complaining about empty elements, because without the paceholder there is no content to have the red underline.
However, using -oxy-placeholder-content works fine for me. So I consider this issue to be solved.
Thanks and regards,
Patrik
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