<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p>Thanks, Radu! I'd understood how everything worked EXCEPT for
      removing the existing "fig" action.</p>
    <p>The <b>Content Completion</b> tab of the <b>Author</b> page
      confused me. I thought that all I could remove was the various
      wizard actions that were displayed in the <b>Current Actions</b>
      window -- and the help did not suggest anything different. (This
      is the URL mapped to the help icon on the page:
<a class="moz-txt-link-freetext" href="https://www.oxygenxml.com/doc/versions/17.1/ug-author/#topics/the-document-type-dialog.html">https://www.oxygenxml.com/doc/versions/17.1/ug-author/#topics/the-document-type-dialog.html</a>)</p>
    <p>Inserting a <fig> using the Content Completion Assistant
      now always inserts a <fig> element that contains
      <title>. Is there a way to ensure that a user inserting an
      element from the Element view will have the same experience and
      result?<br>
    </p>
    <div class="moz-signature">Best,<br>
      Kris<br>
      <br>
      Kristen James Eberlein<br>
      Chair, OASIS DITA Technical Committee<br>
      Principal consultant, Eberlein Consulting<br>
      <a class="moz-txt-link-abbreviated" href="http://www.eberleinconsulting.com">www.eberleinconsulting.com</a><br>
      +1 919 622-1501; kriseberlein (skype)<br>
      <br>
    </div>
    <div class="moz-cite-prefix">On 4/11/2018 4:29 AM, Oxygen XML Editor
      Support (Radu Coravu) wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:92e324ce-17f3-c440-1d03-6fd3ab2fe707@oxygenxml.com">Hi
      Kris,
      <br>
      <br>
      Besides modifying the DTDs, you should try to create your own
      action to insert a section and add the action to the content
      completion window.
      <br>
      <br>
      Here are some steps:
      <br>
      <br>
      1) Go to the Preferences->"Document Type Association" page and
      edit or extend and edit the "DITA" framework configuration.
      <br>
      <br>
      2) In the "Author" tab there is an "Actions" tab. Create a new
      action with a specified ID and name.
      <br>
      Choose for the action an activation xpath which specifies that it
      should be enabled only in places where figures can be inserted.
      You can use a special extension we have for it:
      <br>
      <br>
<a class="moz-txt-link-freetext" href="https://www.oxygenxml.com/doc/versions/20.0/ug-editor/topics/oxy-allows-child-element.html">https://www.oxygenxml.com/doc/versions/20.0/ug-editor/topics/oxy-allows-child-element.html</a>
      <br>
      <br>
      Choose to run an "InsertFragmentOperation" which inserts your XML
      fragment when the XPath is enabled. I'm attaching a screenshot
      with how this looks like on my side.
      <br>
      <br>
      3) In the "Author->Content Completion" tab there is a "Remove
      content completion items" list to which you can add "fig" (because
      you want to remove the old entry from the list).
      <br>
      Then in the "Available actions" list there you will find the
      "fig_with_title" which you can copy to the "Current actions" list
      with the display name of "fig".
      <br>
      <br>
      4) Save all your changes and try it out, open a topic, ENTER, in
      the content completion window type "fig" and your action should be
      there (it has a different icon than the older "fig" entry).
      <br>
      <br>
      This works similar for section with title.
      <br>
      <br>
      Regards,
      <br>
      Radu
      <br>
      <br>
      Radu Coravu
      <br>
      <oXygen/> XML Editor
      <br>
      <a class="moz-txt-link-freetext" href="http://www.oxygenxml.com">http://www.oxygenxml.com</a>
      <br>
      <br>
      On 4/10/2018 10:16 PM, Kristen James Eberlein wrote:
      <br>
      <blockquote type="cite">How can I configure this in oXygen Author
        17.1? I am using a framework.
        <br>
        Thanks.
        <br>
        <br>
      </blockquote>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <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>