Whizzywig for core (and a few feature requests)
| Project: | Whizzywig |
| Version: | 5.x-1.1 |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
I think whizzywig is a clear candidate for WYSIWYG in core. Very lightweight and easy to use (kind of like jQuery). Also, the module settings are very well done. Much easier than TinyMCE. Here are a few feature suggestions:
- make the text field resizable (like TinyMCE)
- make it configurable per user role (or even per field - like the example on the Whizzywig demo page)
- give users the option to disable wysiwyg in my account and also per field (like TinyMCE)
- integrate IMCE in the link button, as well, to make it possible to upload and link to files on the server
There are two problems with Whizzywig itself:
- the Word paste clean up doesn't seem to work
- like many others it strips out tags (such as YouTube embed tags) it doesn't know on save
But for a single user site, it's been great. Thanks for your work.

#1
Thanks for your comments :)
First of all i don't think any WYSIWYG should be in Drupal core. The beauty of Drupal is that people have the choice which editor they want to use. Some sites will require a big and heavy WYSIWYG editor to do a lot of special tasks, while some sites will only need a few basic markup buttons provided by a lightweight WYSIWYG editor. For that last case Whizzywig is one of the best IMHO, that's why i made this module. But i think everyone should decide for himself which editor to use...
Also thanks for the suggestions you made. Most of them i had already thought of, and some of them will be in the module at some point.
- resizable editor: This is a functionality that should be supplied by the editor itself, not by this module that is merely implementing the editor into Drupal. Furthermore my javascript knowledge is probably too limited to implement this. However it is something i would like to see myself, and i will investigate on how/whether it's possible or not.
- configuration per role or by creating profiles that could be assigned to certain role(s) is something i am thinking of right now. I just need to figure out what the best way would be to implement this. It would have to be optional, but allow easy-to-use functionality for those who want it. I'm thinking about it :) Anyone who wants to help think out the concept of this, is welcome to contact me.
- Disabling in user account wouldn't be too hard. This will be in one of the next updates i think. Per field: i guess you mean a link to manually switch on/off the editor on a page? I've investigated this, but Whizzywig doesn't seem to offer this by default. I will do some more research.
- IMCE in link button: good idea. I will work on it.
About the problems you encounter:
- Word pasting seems to be a problem indeed. I haven't done much testing with it... This is however editor functionality, so i cannot change it. I am not planning to make a fork or own version of the Whizzywig editor :) Best would be to put this issue in the Whizzywig forums (http://www.unverse.net/whizzywig-forum/). The Whizzywig editor is great, but not perfect ;) This is merely an integration module for Drupal, so i can't take responsibility for it and implement lacking features...
- The tag stripping could be indeed annoying behaviour. I haven't used embedded tags yet on the site i test the Whizzywig module on. I'll try to find a solution, but again, this is editor behaviour :)
Thanks for taking the time to notify me of the problems you encountered, and the suggestions you made. I will surely keep them in mind.
#2
Regarding the problem:
It's not really a fix for the problem, but you might consider using the CCK embedded media field (http://drupal.org/project/emfield). This way you keep the video out of the Whizzywig editor. Of course this setup depends on what you want to achieve exactly, and will not be sufficient in all cases. But i thought it's worth considering :)
#3
"Regarding the problem:" is "Regarding the embed problem:" :)
#4
Thanks for your response. I suspected the main problem might be with the editor itself. Here's another one that probably belongs in that category. The editor seems to clash with Views. When I have it enabled for views, I simply cannot type anything in the fields in which it appears.
As for tag stripping TinyMCE does it as well but only on saves so as long as I can save a document with it temporarily disabled, it's fine. Whizzywig, however, seems to strip the tags on read, so if I open an existing document with YouTube videos embedded, I cannot resave it without losing all the YouTube tags (this is the same for most others). I know about the emfield module but I'd like to be able to add YouTube videos in text as I please rather than being limited to a specific field. This will unfortunately keep me from using Whizzywig on many of my sites, but I've already installed it on two and am very happy with it, for all the limitations.
#5
I have encountered the same problem yesterday (the editor is shown but can't type anything in it). I suspect this was caused because the textarea was inside a fieldset.
Can you confirm if the textareas that cause problems are embedded inside a fieldset? I assume they are, since Views uses a lot of fieldset in the admin area.
Also, i only had this problem in Firefox, not in Internet Explorer. What browser were you using when encountering the View problem?
If so, this seems another JS problem that seems to be hard to solve...
Whizzywig is a nice editor, but the more i use it, the more problems i seem to encounter with it :) Then again i didn't find a WYSIWYG editor yet that did everything the way i wanted without causing problems :)
#6
The answer is yes to both your questions. It didn't work within a fieldset in Firefox. I had the same problem with FCKEditor, though.
It seems that Whizzywig isn't quite as mature as some of the alternatives but I think it has a lot of potential. I will continue to use it on simple websites.
#7
I have release Whizzywig Drupal 6.x-1.0-ALPHA1 for Drupal. Also take a look at this issue
<embed> getting converted to <ibed>(http://drupal.org/node/352495) maybe related.Please upgrade to Drupal 6 if possible, we're now in Drupal 6 (and Drupal 7 already in code freeze stage!).
We will make Whizzywig become the BEST editor for Drupal and will include File/Image Browser, File Resize, File Delete, Create Folder, support pre-define folder, etc!
Please open NEW ticket if you find any bugs, I really want to hear you!