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

Post here questions and problems related to oXygen frameworks/document types.
stephen.perkins
Posts: 6
Joined: Wed Aug 06, 2014 7:46 pm
Contact:

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

Post 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.
Cheers,
Stephen

Stephen Perkins
Infoset Digital Publishing
stephen@infoset.io
http://www.infoset.io
Radu
Posts: 9049
Joined: Fri Jul 09, 2004 5:18 pm

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

Post 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
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
stephen.perkins
Posts: 6
Joined: Wed Aug 06, 2014 7:46 pm
Contact:

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

Post by stephen.perkins »

Thanks Radu, we think alike - I had already implemented that solution!
Cheers,
Stephen

Stephen Perkins
Infoset Digital Publishing
stephen@infoset.io
http://www.infoset.io
Post Reply