Closed (fixed)
Project:
Columns filter
Version:
6.x-1.1
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
18 Aug 2009 at 16:34 UTC
Updated:
7 Sep 2009 at 21:00 UTC
Jump to comment: Most recent file
I thought it would be really nice to have this module work with WYSIWG editors, in much the same way that the teaser break button works in WYSIWYG API.
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | columns_filter-HEAD_wysiwyg.patch | 905 bytes | dboulet |
| #4 | plugins.zip | 9.17 KB | dboulet |
Comments
Comment #1
joachim commentedDefinitely!
I think I saw the wysiwyg module has an API for Drupal modules to provide button plugins. This would be the way to do it so we only work with that one API and not dozens of individual editors. See http://drupal.org/node/152046
Again, I haven't time to look at this myself, but I'll gladly commit patches.
Comment #2
joachim commentedMore details here: http://drupal.org/node/372826
Comment #3
dboulet commentedGreat, thanks. I think I'll attempt to tackle this later this week if I get the chance.
Comment #4
dboulet commentedOk, here is the patch for the WYSIWYG API plugin. I've included the patch to columns_filter.module and the entire zipped 'plugins' folder seperately—I thought it would be simpler that way. To use the plugin, just unzip the plugins.zip file to the columns_filter module directory after applying the patch.
Comment #5
joachim commentedGreat stuff!
Works like a charm :)
The HTML when I switch off the wysiwyg looks dreadful but I assume that's just a consequence of wysiwygs and the rendered node is all fine.
I've committed it, with just a small tweak to the hook implementation -- I doubt we will ever need $type = editors here so an if statement is easier to read than a switch.
Comment #6
joachim commentedNew release will be up shortly.