"visibility, -oxy-collapse-text" doesn't work with oxy_combo

Having trouble installing Oxygen? Got a bug to report? Post it all here.
Frank Ralf
Posts: 460
Joined: Thu Jan 23, 2014 2:29 pm
Location: Hamburg
Contact:

"visibility, -oxy-collapse-text" doesn't work with oxy_combo

Post by Frank Ralf »

Hi,

When using "visibility, -oxy-collapse-text" with the combobox form control, only the following syntax seems to work:

Code: Select all

oxy_editor(
type, combo,
visibility, -oxy-collapse-text,
...
);
The following syntax throws an error message: "visibility is not a valid argument for function oxy_combobox".

Code: Select all

oxy_combobox(       
visibility, -oxy-collapse-text,
...
);
Frank
Frank Ralf
parson AG
www.parson-europe.com
Radu
Posts: 9062
Joined: Fri Jul 09, 2004 5:18 pm

Re: "visibility, -oxy-collapse-text" doesn't work with oxy_c

Post by Radu »

Hi Frank,

The "visibility:-oxy-collapse-text" is a CSS property which can be applied on an element, it is not a property which is applied on a form control.
So if you want to say for example that the element code should have its text content editable with a combo box and its real text content hidden you say something like:

Code: Select all

code{
content: oxy_combobox(edit, "#text");
visibility: -oxy-collapse-text;
}
http://oxygenxml.com/doc/ug-editor/inde ... nsion.html

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
Frank Ralf
Posts: 460
Joined: Thu Jan 23, 2014 2:29 pm
Location: Hamburg
Contact:

Re: "visibility, -oxy-collapse-text" doesn't work with oxy_c

Post by Frank Ralf »

Hi Radu,

Thanks for the quick response and the explanation!

Kind regards,
Frank
Frank Ralf
parson AG
www.parson-europe.com
Post Reply