DITA Reusable Components - Change double-click behavior??

Having trouble installing Oxygen? Got a bug to report? Post it all here.
LennoxConner
Posts: 1
Joined: Thu Jul 30, 2020 3:01 pm

DITA Reusable Components - Change double-click behavior??

Post by LennoxConner »

Hi,

we are about to switch to keywords instead of variables. Now when I want to insert a new <keyword> into my text, I thought that double-clicking the keyword I want in the "DITA Reusable Components" window would insert a <keyword> element. However, it inserts a <ph> element with a "keyref" attribute. It works fine, but before discovering the "DITA Reusable Components" window we've already inserted a lot of <keyword> elements and would like to stick to this semantic.

A work-around is to right click the keyword in the list, select "Insert as Keyref" and then select "keyword" from the menu.

But my question: Is there a way to change the double-click behavior to insert <keyword> instead of <ph>?

We are using Oxygen 19 with a customized framework.

Thank you,
Last edited by LennoxConner on Mon Aug 03, 2020 7:43 am, edited 1 time in total.
Radu
Posts: 9055
Joined: Fri Jul 09, 2004 5:18 pm

Re: DITA Reusable Components - Change double-click behavior??

Post by Radu »

Hi,

We do not yet have a setting to control if a ph or a keyword with keyref should be inserted when double clicking a key in the DITA Reusable Components view Keys tab.
We have an issue already registered for this and we'll update this forum thread when the issue will be fixed.
Link to a thread where I try to figure out what the difference would be between using ph or keyword with keyref:

post43869.html#p43869

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
chrispitude
Posts: 907
Joined: Thu May 02, 2019 2:32 pm

Re: DITA Reusable Components - Change double-click behavior??

Post by chrispitude »

Hi Radu,

Thank you for answering the question about ph/keyword before I even asked it!
Radu
Posts: 9055
Joined: Fri Jul 09, 2004 5:18 pm

Re: DITA Reusable Components - Change double-click behavior??

Post by Radu »

Chris, we aim to please :lol:

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
adrian
Posts: 2855
Joined: Tue May 17, 2005 4:01 pm

Re: DITA Reusable Components - Change double-click behavior??

Post by adrian »

Hi,

Unfortunately the original post from this thread is just a copy/paste bot (spammer). I would advise continuing this discussion, if needed, on the original thread:
DITA Reusable Components - Change double-click behavior

Regards,
Adrian
Adrian Buza
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
Post Reply