Ticket #1265 (closed enhancement: fixed)
Enhancement: Ability to add filters
| Reported by: | jdlrobson | Owned by: | psd |
|---|---|---|---|
| Priority: | minor | Milestone: | 2.6.2 |
| Component: | core | Version: | |
| Severity: | low | Keywords: | filter |
| Cc: |
Description
In TiddlySpace? I would like to extend the filter syntax to recognise [is[Private]] [is[Draft]] and [is[Public]].
To be able to do this I would like a hook
A config.filters dictionary which could hold custom filter definitions would meet my needs. So in the above case I might define a filter "is" which is called with the parameter public/private/draft by filterTiddlers.
e.g.
config.filters = {
is: function(value) {
// get tiddlers
return tiddlers;
}
}
Change History
Note: See
TracTickets for help on using
tickets.
