Page 1 of 1
Embed form-controls into DITA
Posted: Fri Mar 29, 2019 4:15 pm
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
Re: Embed form-controls into DITA
Posted: Fri Mar 29, 2019 4:42 pm
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
Re: Embed form-controls into DITA
Posted: Mon Apr 08, 2019 5:53 pm
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?
Re: Embed form-controls into DITA
Posted: Tue Apr 09, 2019 9:34 am
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
Re: Embed form-controls into DITA
Posted: Wed Apr 10, 2019 11:44 am
by Oleksii
I had just CSS per default; now it's OK.
I use <oXygen/> XML Editor 20.1, build 2018122403
Thank you.
Re: Embed form-controls into DITA
Posted: Thu Apr 11, 2019 1:33 pm
by Radu
Hi Oleksii,
Thanks for the update.
Regards,
Radu