Are there any plans for a Drupal 7 port of this module? (Or any recommendations for an alternative if not).

Thanks.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

tsvenson’s picture

Follow, really interested in this as well.

sammyman’s picture

Really interested in this right now.

mike503’s picture

+1

saintiss’s picture

+1

danielnolde’s picture

+1

A short status note from the maintainer would be really nice, how the plan for a D7 Port is, or whether it is planned at all, and what kind of help is needed.

markus_petrux’s picture

Oh, yes, it would be nice. Though, I'm afraid I'll still be focussed on D6 for a while, and I do not have the time right now to do this port. :(

savioret’s picture

I'm very interested too, this is a great module and should be ported to D7 :-)

nedjo’s picture

Most of the update looks straightforward, but the switch in D7 from getting and setting filter settings using variable_get/variable_set to passing in the $filter argument will require significant reworking plus an upgrade path. See http://api.drupal.org/api/drupal/modules--filter--filter.api.php/functio....

Goulou’s picture

subscribing

Anonymous’s picture

subscribing

nedjo’s picture

Here's the first steps of an upgrade but the more significant work is still to come. I started with coder and, probably unwisely, included code style changes, which makes the patch hard to read. Manual work included upgrading to the new filter hooks.

Todo: update storage, see my comment #8 above.

bryan.scott’s picture

subscribe

geek-merlin’s picture

sub!

bryancasler’s picture

subscribe

bryancasler’s picture

markus_petrux, any possibility of rolling nedjo's patch as a 7.x dev version?

JohnnyX’s picture

Any progress? I would use ckEditor with filtered html what removes all the inline styles...
Or have someone found a solution?

Or is it possible to write a small module to pass inline styles thru the html filter? I don't know how difficult it would be...

geek-merlin’s picture

groked into this and the filter api changes need quite some work.
i'm into that and think i can roll somethin in the next days.

JohnnyX’s picture

Ok, great. Thank's!

rvilar’s picture

Subscribe

vincentdemers’s picture

subscribe

jakew’s picture

subscribe

Danny_Joris’s picture

subscribing

omahm’s picture

Excellent module and would love to see it ported to 7.

In the meantime, the http://drupal.org/project/htmlpurifier module might be of use, although it isn't as easy to configure.

skilip’s picture

Status: Active » Needs work
FileSize
50.39 KB

The patch attached will cover 80% of the work needed to port this great module to 7. It's late, it's saturday evening and I'm not going to finish this in the next few days, so hopefully someone hooks in and makes a first APLHA from it.

deith’s picture

subscribing

geek-merlin’s picture

Status: Needs work » Needs review

sorry, time flies, but finally i pushed the port into my sandbox:
http://drupal.org/sandbox/axel.rutz/1105784

i'm running this on two production sites and would consider it beta quality.

please post issues in my sandbox until we have a 7.x tag here.

also added: #1105850: Offering to maintain WYSIWYG Filter

anthonyR’s picture

subscribe

Shai’s picture

sub

KellyB’s picture

subscribe

anthonyR’s picture

subscribe

edit: didn't remember that I already posted in this thread. Sorry!

bryancasler’s picture

axel.rutz's module is working for me.

I had to get it here because the link in #24 didn't work
http://drupalcode.org/sandbox/axel.rutz/1105784.git/snapshot/refs/heads/...

just rename the module's folder to "wysiwyg_filter"

Tesmon’s picture

subscribe

jamescarvin’s picture

@ #31, I downloaded http://drupalcode.org/sandbox/axel.rutz/1105784.git/snapshot/refs/heads/... and have been attempting to use this for admin so that I can embed an object ( a YouTube video) into a forum post in D7. To do this I've got to unblacklist objects. I found it at line 87 of wysiwyg_filter.inc . Is deleting this line from the blacklist all I need to do?

geek-merlin’s picture

Title: Drupal 7 port » Wysiwig Filter D7 port

hi jamescarvin,

you might add a feature ticket in my issue tracker to "make blacklist configurable" or so.

and yes, for a quick hack deleting said line would be my first try too.

;-)

Levure’s picture

Is axel.rutz version of wysiwyg filter is compatible with CKEditor ?

I'm having that error instead of the content when I am editing a page :

Fatal error: Call to undefined function wysiwyg_filter_filter_wysiwyg_process() in /www/htdocs/sites/all/modules/ckeditor/includes/ckeditor.page.inc on line 174

anthonyR’s picture

@Levure: I'm using it with CKEditor but through WYSIWYG module and it's working properly.

geek-merlin’s picture

@Levure:
take anthonyR's advice and bet on the wysiwyg module.
if you really have to use ckeditor.module, insert a "require 'wysiwyg_filter.pages.inc'" just before that call.
this will work for now, but may break in the future, because the only supported way to call that function is to respect hook_filter_info's settings.

rv0’s picture

axel.rutz' module is working fine for me.

thanks + subscribe

bryancasler’s picture

I've installed axel.rutz's module from #31. I've configured my text formats to include the WYSIWYG filter. Then I configured WYSIWYG filter's settings. All of that seems to work fine, the one BIG problem is that WYSIWYG filter's settings are being ignored.

In the following example, with my configuration, all of these inline css elements should be getting stripped out. But, they are not.

<div style="font-family: 'Times New Roman'; line-height: normal; font-size: medium; ">...</div>

Can anyone else confirm this?

rv0’s picture

cant confirm this, it's seems to be working fine for me.

It might be better to make a separate issue for it in axel.rutz sandbox for this project: http://drupal.org/sandbox/axel.rutz/1105784

To others reading this: I discovered an issue when the filter is disabled, fix also posted in the sandbox issue queue: http://drupal.org/node/1151506

bryancasler’s picture

Thanks for the suggestion rv0. I just created a new issue here #1153738: Filter settings being ignored

lathan’s picture

sub

dmsmidt’s picture

sub

gomezsal’s picture

Subscribing

vegardjo’s picture

sub

rwohleb’s picture

subscribing

emkamau’s picture

Subscribe

JohnnyX’s picture

Would you release a dev or beta version in the near future? Or any blocking issues?
I use it at my site and it seems to work fine for me...

geek-merlin’s picture

no answers from maintainer to willingtohelp-issue and pm, so i would have to file a "takeover" request.

edit: didit.
http://drupal.org/node/1105850#comment-4559990

bryancasler’s picture

+1 for axel.rutz

Flommy’s picture

sub

Stomper’s picture

Go for it, axel

tjtj’s picture

I tried the Drupal 7 port. Maybe I am not setting this up correctly, but if I enable WSYIWYG Filter for the text format, the TinyMCE editing icons all disappear! How do I get these back?

NPC’s picture

Subscribing.

frob’s picture

subscribing

kolafson’s picture

Subscribing

samhassell’s picture

subscribe

geek-merlin’s picture

Status: Needs review » Fixed

puff puff...
white smove is rising...

we have an official D7 release, so this can be closed.

JohnnyX’s picture

Mh, updated wysiwyg to new version few days ago and installed the new release today. Doesn't work for me. Rollback to the older patch version and works again. Maybe a bug?

rv0’s picture

strange.. i updated both my wysiwyg (dev) and wysiwyg filter today and all is fine here...

define didn't work, did you get errors? did you check the config?

JohnnyX’s picture

Sorry, you're right... I should define my problem *g*

It simple do nothing. With the new module I can't set text align to center or right. Module and filter are still enabled after update. After remove new version with the old and working one all works fine again.
No error message displayed.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.