ChaseFlorell / jQuery.ProfanityFilter

filter out profane words on the client
https://chaseflorell.github.io/jQuery.ProfanityFilter/demo/
MIT License
110 stars 42 forks source link

Not changing text in textbox #2

Open andyg2 opened 12 years ago

andyg2 commented 12 years ago

I'm no expert but I scanned through the code and it seems to ignore nodeValue if the node is a textbox.

ChaseFlorell commented 12 years ago

You are correct. For my usage of this, I needed to be able to see the true value for any editable area.

This might be worth creating an enum for this kind of option.

Thoughts?

ChaseFlorell commented 12 years ago

For reference, here is the nodeType values chart. http://www.javascriptkit.com/domref/nodetype.shtml