Embed form-controls into DITA

Post here questions and problems related to editing and publishing DITA content.
Oleksii
Posts: 84
Joined: Wed Jul 19, 2017 6:04 pm
Location: Austria
Contact:

Embed form-controls into DITA

Post by Oleksii »

Is it possible? For instance, I'd like just to add a checkbox into a table.
https://www.oxygenxml.com/doc/versions/ ... trols.html
Kind regards,
Oleksii Sapov-Erlinger
Radu
Posts: 9051
Joined: Fri Jul 09, 2004 5:18 pm

Re: Embed form-controls into DITA

Post by Radu »

Hi Oleksii,

Sure, you can choose to add your own CSS for editing DITA:

http://blog.oxygenxml.com/2016/10/custo ... iting.html

and use the checkbox form control to edit an attribute value on an element:

https://www.oxygenxml.com/doc/versions/ ... ditor.html

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
Oleksii
Posts: 84
Joined: Wed Jul 19, 2017 6:04 pm
Location: Austria
Contact:

Re: Embed form-controls into DITA

Post by Oleksii »

Hi Radu,
It works fine in DITA.

However, adding ' -oxy-collapse-text ' to visibility property in CSS causes an error in oXygen:
Context : tbody entry:nth-child(6) in property : visibility “-oxy-collapse-text” is not a “visibility” value : -oxy-collapse-text
Is it possible to define the exceptions somewhere?
Kind regards,
Oleksii Sapov-Erlinger
Radu
Posts: 9051
Joined: Fri Jul 09, 2004 5:18 pm

Re: Embed form-controls into DITA

Post by Radu »

Hi Oleksii,

What version of Oxygen are you using?
Editing in Oxygen a CSS stylesheet containing this CSS selector:

Code: Select all


tbody entry:nth-child(6){
visibility:-oxy-collapse-text;
}
seems not to report any validation error.
In the Oxygen Preferences->"CSS Validator" page I'm using the "CSS 3 with Oxygen extensions" profile.

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
Oleksii
Posts: 84
Joined: Wed Jul 19, 2017 6:04 pm
Location: Austria
Contact:

Re: Embed form-controls into DITA

Post by Oleksii »

I had just CSS per default; now it's OK.
I use <oXygen/> XML Editor 20.1, build 2018122403
Thank you.
Kind regards,
Oleksii Sapov-Erlinger
Radu
Posts: 9051
Joined: Fri Jul 09, 2004 5:18 pm

Re: Embed form-controls into DITA

Post by Radu »

Hi Oleksii,

Thanks for the update.

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
Post Reply