<div dir="ltr"><div class="gmail_default" style="font-family:verdana,sans-serif">Great! Thank you, Sorbin.</div><div class="gmail_default" style="font-family:verdana,sans-serif"><br></div><div class="gmail_default" style="font-family:verdana,sans-serif">Kind regards</div><div class="gmail_default" style="font-family:verdana,sans-serif"><br></div><div class="gmail_default" style="font-family:verdana,sans-serif">Yves</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, 12 Aug 2020 at 10:51, oXygen XML support <<a href="mailto:support@oxygenxml.com">support@oxygenxml.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
  
    
  
  <div>
    Hello Yves,<br>
    <br>
    This comes from <font size="+1"><tt>frameworks\dita\css\core\-conrefs.css</tt></font><font size="+1">, </font>where we have the following rule:<br>
    <br>
    <blockquote><font size="+1"><tt>@media oxygen{<br>
            *[keyref]:before,</tt><br>
        <tt>  *[keyref][href]:before{</tt><br>
        <tt>      link: oxy_concat("", attr(keyref, keyref));</tt><br>
        <tt>      content: url("../../img/link_keyref.png") <font color="#0000ff"><b>"[" attr(keyref) "]"</b></font>;</tt><br>
        <tt>      text-decoration: none;</tt><br>
        <tt>  }<br>
            ...<br>
          }<br>
        </tt></font></blockquote>
    The elegant way of dealing with this would be to create an alternate
    CSS (<a href="https://www.oxygenxml.com/doc/versions/22.0/ug-editor/glossary/alternate-css-style.html" target="_blank">https://www.oxygenxml.com/doc/versions/22.0/ug-editor/glossary/alternate-css-style.html</a>)
    that contains only this rule, but without the blue text (<tt><font size="+1">"[" attr(keyref) "]"</font></tt>), and then activate
    this CSS from the Styles dropdown that is found in the toolbar area
    when opening a file in the Author mode. If you want to get that key
    name back, you need to deactivate this alternate CSS. You should
    find enough information about this in the userguide.<br>
    <br>
    You could, of course, remove the blue text directly from  <font size="+1"><tt>-conrefs.css</tt>, </font>but then it would not be
    that easy to render the key name again. You would have to write the
    blue text again...<br>
    <br>
    All the best wishes,<br>
    Sorin Carbunaru<br>
    Oxygen XML Editor<br>
    <br>
    <div>On 8/11/2020 3:00 PM, Yves Barbion
      wrote:<br>
    </div>
    <blockquote type="cite">
      
      <div dir="ltr">
        <div class="gmail_default" style="font-family:verdana,sans-serif">Hi group</div>
        <div class="gmail_default" style="font-family:verdana,sans-serif"><br>
        </div>
        <div class="gmail_default" style="font-family:verdana,sans-serif">When I insert a xref to
          a DITA topic with a key, I see the following in Author mode:</div>
        <div class="gmail_default" style="font-family:verdana,sans-serif"><br>
        </div>
        <div class="gmail_default" style="font-family:verdana,sans-serif"><p><xref>[keyref_text]My
          cross-reference display text</xref></p></div>
        <div class="gmail_default" style="font-family:verdana,sans-serif"><br>
        </div>
        <div class="gmail_default" style="font-family:verdana,sans-serif">The keyref_text makes
          it a bit difficult to read my cross-reference display text, so
          I would like to hide it when I'm working in Author mode. Is
          there a way to do this?</div>
        <div class="gmail_default" style="font-family:verdana,sans-serif"><br>
        </div>
        <div class="gmail_default" style="font-family:verdana,sans-serif">Thanks</div>
        <div class="gmail_default" style="font-family:verdana,sans-serif"><br>
        </div>
        <div class="gmail_default" style="font-family:verdana,sans-serif">Yves</div>
      </div>
      <br>
      <fieldset></fieldset>
      <pre>_______________________________________________
oXygen-user mailing list
<a href="mailto:oXygen-user@oxygenxml.com" target="_blank">oXygen-user@oxygenxml.com</a>
<a href="https://www.oxygenxml.com/mailman/listinfo/oxygen-user" target="_blank">https://www.oxygenxml.com/mailman/listinfo/oxygen-user</a>
</pre>
    </blockquote>
    <br>
  </div>

_______________________________________________<br>
oXygen-user mailing list<br>
<a href="mailto:oXygen-user@oxygenxml.com" target="_blank">oXygen-user@oxygenxml.com</a><br>
<a href="https://www.oxygenxml.com/mailman/listinfo/oxygen-user" rel="noreferrer" target="_blank">https://www.oxygenxml.com/mailman/listinfo/oxygen-user</a><br>
</blockquote></div>