ExportInlineStylesTransformationAttrs
An object containing helper functions to control the transformation flow during the inline styles conversion.
Properties
module:export-inline-styles/exportinlinestyles~ExportInlineStylesTransformationAttrs#runAfterChildrenTransformationA function used to register a callback to be executed after the current element's children have been processed.
This allows for modifications based on the final state of the descendants.
module:export-inline-styles/exportinlinestyles~ExportInlineStylesTransformationAttrs#runAfterDocumentTransformationA function used to register a callback to be executed after the entire document has been processed.
It is particularly useful when you want to modify or replace the HTML structure of the document (e.g., replacing a
figurewith asection) without breaking the CSS selector matching for inline styles. By deferring structural changes to this callback, elements will still receive inline styles based on their original DOM structure (e.g., adivwill still get styles from afigure > divselector before the parentfigureis turned into asection).
Value
object