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

Post here questions and problems related to oXygen frameworks/document types.
stephen.perkins
Posts: 6

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

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: 5816

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

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/#topics/the-css-sub-tab.html

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
stephen.perkins
Posts: 6

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

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

Return to “SDK-API, Frameworks - Document Types”

Who is online

Users browsing this forum: No registered users and 0 guests