Page 1 of 1

DITA Reusable Components - Change double-click behavior??

Posted: Thu Jul 30, 2020 3:02 pm
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,

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

Posted: Fri Jul 31, 2020 6:52 am
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

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

Posted: Fri Jul 31, 2020 3:04 pm
by chrispitude
Hi Radu,

Thank you for answering the question about ph/keyword before I even asked it!

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

Posted: Fri Jul 31, 2020 3:15 pm
by Radu
Chris, we aim to please :lol:

Regards,
Radu

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

Posted: Mon Aug 03, 2020 3:10 pm
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