very promising, but not ready for release
Jonaboff - December 22, 2008 - 22:24
| Project: | jWYSIWYG |
| Version: | 6.x-2.0-rc1 |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Jump to:
Description
Bugs:
- The bold and italic buttons are inconsistent in toggling off (although they usually toggle on) and the H1, H2 and H3 buttons never toggle off. I am not entirely sure what the red cross button does.
- In IE (IE8) the editor will not accept keyboard input most of the time (ie, I cannot input any text into the page) but I have not noticed this problem in Firefox 3 or Opera 9.6
- In IE, the image dialogue encourages the selection of local files, but does not upload them. (Also, why is the insert image dialogue different in IE to other browsers?)
- Some tags outputted are uppercase. This is not allowed in XHTML. I do not know jQuery and the js file does not shed light to me on why this is. Some tags are opened in uppercase but closed correctly. Attribute names are occasionally uppercase too, again not allowed.
The following may be suited to a different thread listed as a feature request, but there are a couple of features I would like to see:
- There must be some functionality to alter attributes of links and images rather than just the href/src respectively. For images the alt is a requirement of XHTML and for all elements, class, title and onclick attributes would be nice.
- Basic html such as lists should be available. I am not sure if the additional buttons listed in the js file are already implemented or are awaiting implementation. I am yet to experiment, but many if not all of these are listed there, I see.
- Admins should be able to remove certain buttons (such as h1) from the editor from the admin form.
- There should be the ability to disable the editor on the fly for editing the raw code.
- IMCE integration would be very good, and AFAIK this only requires hyperlinking from the insert image button.
I am impressed by the simplicity of the interface, and by the correct nesting of tags (jWYSIWYG outputs <b>lorem ipsum </b><i><b>dolor</b> sit amet</i> rather than the usual, incorrect <b>lorem ipsum <i>dolor</b> sit amet</i>) I also like the use of the jQuery library which is in core.
However I have found it unusable due to the bugs listed above.

#1
I have just experimented with the code, and it seems the additional buttons are implemented and only have to be enabled.
It also seems that all tags are uppercase, contrary to my post. Infact the editor outputs HTML 4, with align attributes, etc. XHTML compliance would be desirable. This is probably an issue for jWYWIWYG itself rather than the drupal module.
#2
Please, all the comments regarding the editor must be posted in the editor's page: http://code.google.com/p/jwysiwyg/
Thanks,