ExportInlineStylesTransformation
Parameters
element: HTMLElementThe DOM element being processed.
stylesMap: StylesMapThe map of styles to be applied to the element.
Returns
HTMLElement | undefined | voidThe new element that will be used instead of the original one, or
undefinedto keep the original element. It may be used when transformer replaces one element with another (e.g.,figuretodiv).