Stop abusing the filter API
rwohleb - February 27, 2009 - 21:07
| Project: | Annotation |
| Version: | HEAD |
| Component: | Code |
| Category: | task |
| Priority: | normal |
| Assigned: | rwohleb |
| Status: | active |
Jump to:
Description
The filter system doesn't support passing contexts. I've hacked away to do this, but it's not ideal. Investigate if we can just do something with nodeapi.

#1
Is this sane?
Lorem ipsum dolor sit amet.</p><p>Consectetur <em>adipisicing</em> elit.is two regions.Stripping all HTML tags, get the instance number of the selection's text, in case the same text occurs multiple times.
This makes text editable and handles filter reconfigurations. It does break if filters insert non-HTML text or if the HTML filter takes out the span tags, but I think those are problems anyway. It requires no PHP processing on output. The spans may get a bit stacked, but all that needs to be done is go through clicked span's parents and find the associated comments.
#2
http://drupal.org/node/368409
#3