How can I disable inline editing of a tag's text while still allowing oxy_editor support?
Posted: Tue Apr 16, 2013 4:55 pm
I have a tag in oxygen Author that I want to edit using a combo. I can do this, and I can also hide the text with the following css:
Unfortunately, the cursor can still be placed after the combo, and text can be typed there. How can I disable the ability for the user to type, while retaining the ability to update the text using the combo?
Code: Select all
mytag {
visibility:-oxy-collapse-text;
content: oxy_editor(type, combo,
edit, "#text",
values, "value1, value2",
labels, "my label one, my label two"
editable, false);
}
mytag:before {
content: "choose mytag value: ";
}