html-integrations icon indicating copy to clipboard operation
html-integrations copied to clipboard

Feat: Add a blacklist param for the latex and mathml detection.

Open usantos-at-wiris opened this issue 1 year ago • 0 comments

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.

usantos-at-wiris avatar Jul 23 '24 14:07 usantos-at-wiris