Textbox.io 2.x Documentation : editor.filters

editor.filters is a grouping of properties related to content filtering for a Textbox.io editor instance. 

You may add filters to manipulate the HTML content on the way into (or on the way out of) the editor. Filtering occurs when triggering editor.content methods. 

All Textbox.io filters work by passing DOM elements to a callback function. This function can then operate on the elements as necessary - removing them, transforming them, or even storing that content elsewhere within your application.


selectorGroups methods relating to an selector based filters.
predicateGroups methods relating to predicate based filters.