Where to add TinyMCE custom node filter?
“to grep the right files”
Talking about grep, maybe you can ‘grep’ yourself through the files (if haven’t already done so) and (assuming, hoping, you are on Linux)?
grep -lir “search term” .
location of the files:
Having said this, hopefully there is someone else that can answer your question.