CSS to show/hide selected attributes of an element

bjayaram
Posts: 1
Joined: Fri May 10, 2013 7:00 pm

CSS to show/hide selected attributes of an element

Post by bjayaram » Thu Sep 26, 2013 9:29 pm

I have set up a custom styling for the <data> element but in Author mode I want to hide only the datatype attribute, for example.

How can I do it?

Thanks,
Jayaram

alex_jitianu
Posts: 763
Joined: Wed Nov 16, 2005 11:11 am

Re: CSS to show/hide selected attributes of an element

Post by alex_jitianu » Fri Sep 27, 2013 11:48 am

Hi,

Do you want the datatype attribute to be hidden from the Attributes View? You'll have to use the Oxygen's Java API and implement an ro.sync.ecss.extensions.api.attributes.AuthorAttributesDisplayFilter.. This filter is added over a WSAuthorEditorPageBase. An attribute filtered this way will not be presented anywhere in the author mode nor in the helper views.

Best regards,
Alex

Post Reply