<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    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">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 class="moz-cite-prefix">On 8/11/2020 3:00 PM, Yves Barbion
      wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAMa27EyOyQG9d+7PCnnwjCWuJcvqDgysBtt_AyyYPffgOG=5TQ@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <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 class="mimeAttachmentHeader"></fieldset>
      <pre class="moz-quote-pre" wrap="">_______________________________________________
oXygen-user mailing list
<a class="moz-txt-link-abbreviated" href="mailto:oXygen-user@oxygenxml.com">oXygen-user@oxygenxml.com</a>
<a class="moz-txt-link-freetext" href="https://www.oxygenxml.com/mailman/listinfo/oxygen-user">https://www.oxygenxml.com/mailman/listinfo/oxygen-user</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>