Defines which attributes of an HTML element should be treated as asset sources. Used in html.additionalAssetSources configuration.
html.additionalAssetSources
Optional
Called before handling an attribute to determine if it should be processed.
Attributes that contain a single asset URL.
['src', 'data-src-dark'] Copy
['src', 'data-src-dark']
Attributes that contain srcset-format URLs.
['srcset', 'imagesrcset'] Copy
['srcset', 'imagesrcset']
Defines which attributes of an HTML element should be treated as asset sources. Used in
html.additionalAssetSourcesconfiguration.