Open shtse8 opened 2 years ago
for now, we need to put a function to modify the rules.
service.remove( function (node, options) { return ( options.linkStyle === 'inlined' && node.nodeName === 'A' && node.getAttribute('href') ) })
it's better to support selector in filter. so we can make it simplier
service.remove('a[href]')
which is equivalent to:
service.remove((node) => node.matches('a[href]'))
for now, we need to put a function to modify the rules.
it's better to support selector in filter. so we can make it simplier
which is equivalent to: