Use Oxygen action in CSS

Post here questions and problems related to editing and publishing DITA content.
xephon
Posts: 140
Joined: Mon Nov 24, 2014 1:49 pm
Location: Greven/Germany

Use Oxygen action in CSS

Post by xephon »

Hi,

I'd like to use an Oxygen action of my framework in author mode (CSS/LESS). I can add an action to the menu or the context menu. Can I use it the same way in CSS/LESS, or do I have do redefine it there?

Thanks
stefan-jung.org – Your DITA/DITA-OT XML consultant
alex_jitianu
Posts: 1009
Joined: Wed Nov 16, 2005 11:11 am

Re: Use Oxygen action in CSS

Post by alex_jitianu »

Hi,

If you've defined an author action in the framework, then you can bind it in the document through the CSS like this:

Code: Select all

p:before {
content: oxy_button(actionID, 'my.action.id.defined.inframework')
}
Please let me know if I didn't actually understood the situation and you had something else in mind.


Best regards,
Alex
xephon
Posts: 140
Joined: Mon Nov 24, 2014 1:49 pm
Location: Greven/Germany

Re: Use Oxygen action in CSS

Post by xephon »

Hi Alex,

thanks, that was exactly what I was looking for.

Greetings,
Stefan
stefan-jung.org – Your DITA/DITA-OT XML consultant
Post Reply