Embed form-controls into DITA

Oleksii
Posts: 49
Joined: Wed Jul 19, 2017 6:04 pm
Location: Austria
Contact:

Embed form-controls into DITA

Post by Oleksii » Fri Mar 29, 2019 4:15 pm

Is it possible? For instance, I'd like just to add a checkbox into a table.
https://www.oxygenxml.com/doc/versions/ ... trols.html

Radu
Posts: 6561
Joined: Fri Jul 09, 2004 5:18 pm

Re: Embed form-controls into DITA

Post by Radu » Fri Mar 29, 2019 4:42 pm

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: 49
Joined: Wed Jul 19, 2017 6:04 pm
Location: Austria
Contact:

Re: Embed form-controls into DITA

Post by Oleksii » Mon Apr 08, 2019 5:53 pm

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?

Radu
Posts: 6561
Joined: Fri Jul 09, 2004 5:18 pm

Re: Embed form-controls into DITA

Post by Radu » Tue Apr 09, 2019 9:34 am

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: 49
Joined: Wed Jul 19, 2017 6:04 pm
Location: Austria
Contact:

Re: Embed form-controls into DITA

Post by Oleksii » Wed Apr 10, 2019 11:44 am

I had just CSS per default; now it's OK.
I use <oXygen/> XML Editor 20.1, build 2018122403
Thank you.

Radu
Posts: 6561
Joined: Fri Jul 09, 2004 5:18 pm

Re: Embed form-controls into DITA

Post by Radu » Thu Apr 11, 2019 1:33 pm

Hi Oleksii,

Thanks for the update.

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

Post Reply