oxy_editor CSS: Empty string as value for labels not possibl

Having trouble installing Oxygen? Got a bug to report? Post it all here.
joerg.hambuch
Posts: 19
Joined: Thu Nov 14, 2013 1:04 pm

oxy_editor CSS: Empty string as value for labels not possibl

Post by joerg.hambuch »

Hi,

in oXygen Author 16.1 the oxy_editor CSS function behaves different from version 16. To display checkboxes without a label we used to set the labels property to an empty string (""). In oXygen 16 this did what we expected it to do: It displayed no label.

In oXygen 16.1 the value of the values property is displayed ("done").

The manual http://www.oxygenxml.com/doc/ug-editor/ ... ditor.html says about the labels property: "In case this property is not specified, the values property is used as label".

If we set labels to an empty string it is specified. So I think this might be a bug in oXygen 16.1?

Our code:

Code: Select all

profileDesc > creation listChange change[status]:before{
content:
oxy_editor(
type, check,
edit, "@status",
values, "done",
uncheckedValues, "undone",
labels, ""
);
}
As a workaround we set label to a blank (" "). Now there is no visible label, but I think an empty string ("") should work as well.

Best regards,
Jörg
alex_jitianu
Posts: 1016
Joined: Wed Nov 16, 2005 11:11 am

Re: oxy_editor CSS: Empty string as value for labels not pos

Post by alex_jitianu »

Hi Jörg,

Thank you for reporting this situation. It is indeed something that was lost between the two versions. Fortunately the workaround to use a space if easy to use instead. We will fix it for the next version.

Best regards,
Alex
joerg.hambuch
Posts: 19
Joined: Thu Nov 14, 2013 1:04 pm

Re: oxy_editor CSS: Empty string as value for labels not pos

Post by joerg.hambuch »

Thanks!
Radu
Posts: 9449
Joined: Fri Jul 09, 2004 5:18 pm

Re: oxy_editor CSS: Empty string as value for labels not pos

Post by Radu »

Hi,

Just to update this thread, the initial behavior should be fixed in Oxygen 17.

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