Page 1 of 1

-oxy-foldable CSS Property only work with block elements?

Posted: Mon Sep 08, 2014 11:11 pm
by stephen.perkins
It seems that the -oxy-foldable CSS Property only work with elements that are set to display:block, and will not work with inline elements. Is this correct?

I am working on a customization for documents with embedded footnotes, and it would be great to be able to collapse them.

Re: -oxy-foldable CSS Property only work with block elements

Posted: Tue Sep 09, 2014 10:06 am
by Radu
Hi Stephen,

This is correct, you can only fold block elements.
Maybe as a workaround you could define an alternate CSS which hides footnotes for your document type customization and you will be able to switch to it using the toolbar "Styles" drop-down:

http://www.oxygenxml.com/doc/ug-oxygen/ ... b-tab.html

Regards,
Radu

Re: -oxy-foldable CSS Property only work with block elements

Posted: Wed Sep 10, 2014 4:10 pm
by stephen.perkins
Thanks Radu, we think alike - I had already implemented that solution!