Page 1 of 1

<tm> element not displayed in Author mode

Posted: Thu Feb 18, 2016 10:37 pm
by mattwolfe
In version 17.1.0.v2015101417, when authoring in DITA, the <tm> element (for eample, <tm tmtype="reg">Microsoft</tm>) is never displayed in Author mode even when using full tags. The <tm> element is present in Text mode. As far as I can tell, this is the only DITA element that is not displayed in Author mode. Is this a known issue?

Re: <tm> element not displayed in Author mode

Posted: Fri Feb 19, 2016 11:00 am
by Radu
Hi Matt,

Indeed we explicitly prohibited showing the tags for the tm element considering that it would be easier to read in the Author mode.
I will add an issue to reconsider this because I consider that you are right, it's hard to visually see the structure and that the <tm> element is there.
If you look in the CSS used to render the DITA content in the Author visual editing mode:

OXYGEN_INSTALL_DIR\frameworks\dita\css\core\-topic-body.css

there is a CSS selector which is responsible for this:

Code: Select all


*[class~="topic/tm"] {
-oxy-display-tags: none;
}
You could try to remove that selector directly from that CSS or to add a CSS customization to the DITA framework:

https://www.oxygenxml.com/doc/versions/ ... t-CSS.html

Regards,
Radu

Re: <tm> element not displayed in Author mode

Posted: Fri Feb 19, 2016 6:21 pm
by mattwolfe
So my thoughts on full tags mode are if I want to see full tags, I want to see ALL full tags. That's the whole point of full tags mode in my mind. Otherwise it looks like someone inserted the actual tm (or circled r, etc.) symbol instead of using the correct DITA element.

I appreciate you reconsidering this feature and I hope you change it in a future release.

Thanks Radu!

Re: <tm> element not displayed in Author mode

Posted: Mon Feb 22, 2016 9:12 am
by Radu
Hi Matt,

Oxygen 18.0 (April-May this year) will have this issue fix.

Regards,
Radu