Page 1 of 1

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

Posted: Mon Jun 23, 2014 5:41 pm
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

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

Posted: Tue Jun 24, 2014 8:46 am
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

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

Posted: Tue Jun 24, 2014 12:41 pm
by Frank Ralf
Hi Radu,

Thanks for the quick response and the explanation!

Kind regards,
Frank