-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 » Mon Sep 08, 2014 11:11 pm

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: 6541
Joined: Fri Jul 09, 2004 5:18 pm

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

Post by Radu » Tue Sep 09, 2014 10:06 am

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 » Wed Sep 10, 2014 4:10 pm

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