<tm> element not displayed in Author mode

Having trouble installing Oxygen? Got a bug to report? Post it all here.
mattwolfe
Posts: 26
Joined: Thu Apr 26, 2012 5:36 pm

<tm> element not displayed in Author mode

Post 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?
Radu
Posts: 9055
Joined: Fri Jul 09, 2004 5:18 pm

Re: <tm> element not displayed in Author mode

Post 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
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
mattwolfe
Posts: 26
Joined: Thu Apr 26, 2012 5:36 pm

Re: <tm> element not displayed in Author mode

Post 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!
Radu
Posts: 9055
Joined: Fri Jul 09, 2004 5:18 pm

Re: <tm> element not displayed in Author mode

Post by Radu »

Hi Matt,

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

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
Post Reply