Closed
Description
Subject of the feature
I would like want to fine-tune the ignore
section of a findAndReplace to ignore replacing things inside e.g. something that has a specific class name; would be nice if i could specify a function so i can customize whether to ignore a node
Problem
only being able to specify tagNames to ignore doesn't give me the granularity i need to ignore the things i want
Expected behaviour
I'd like to be able to pass in a function to ignore
, e.g.
ignore: (node: Node) => boolean
Alternatives
Can't think of any