html-integrations
html-integrations copied to clipboard
Feat: Add a blacklist param for the latex and mathml detection.
Description
This method adds the feature for blacklisting certain elements transformation for the viewer.
The url param is blacklist. If you need an example:
WIRISplugins.js?viewer=image&safeXml=true&async=true&element=%23page&blacklist=[data-fieldtype="editor"]
- This makes the element to apply the viewer
#page - And exclude all nodes or children of nodes that apply to this CSS selector
[data-fieldtype="editor"]
CHANGES.MD
feat: Add a blacklist param for the latex and mathml detection.