Feature request: Preserve media overlay CSS
"Delete unused stylesheet selectors" deletes things that are not "used" in the .epub, but are still needed by the reading system.
If this appears in the .opf:
<meta property="media:active-class">-epub-media-overlay-active</meta>
It means this book has readaloud highlighting. Deleting the associated selector from .css will defeat that feature:
.-epub-media-overlay-active {
background-color: #FFFF00;
}
The selector can be called anything. "-epub-media-overlay-active" is most common.
Maybe a check box in the "Delete Styles" dialogue that says "Preserve media overlay CSS?"
Last edited by noteon; 11-29-2023 at 03:07 PM.
|