| Project: | Whizzywig - A complete WYSIWYG Editor |
| Version: | 6.x-1.0-beta1 |
| Component: | Miscellaneous |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed (fixed) |
Issue Summary
Just downloaded and tried the Whizzywig module for the first time, noticed a few issues:
1) I had to remove all specified extensions in order to not get the error message saying that the uploaded file had an unsupported extension, even when it was an allowed type. I had a glance at the module code, and I can see where the logic checks against the "whizzywig_file_extension" variable; however, setting the allowed extensions is not written to the database - don't you need to use variable_set() in your admin settings submit form to make the settings permanent? I'm not completely clear on how all that works, but I started looking in the code when I noticed that the allowed extension .jpg was being declared as unsupported.
2) In the editor I can get a layout of text and image graphics just so, only to have it be reformatted and displayed differently after submission. Re-editing the same node again, the markup loads into the editor changed - so I'm thinking that the "full html" input filter is making changes after submission. How should that input filter be configured so what I see in the editor is what I see after submission? Currently I have the "html corrector", "html filter", and "line break converter" all turned off...
Comments
#1
Note: I just found the variables in the database, must have missed them before. Still strange extension behavior. Question #2 is key to use of this editor.
#2
1. I will check it and do revision ASAP (not more than 2 days, but I think I can fix it in several hours)
2. I need more info: when you set to "Full HTML" then everything work fine?
#3
Bug fixed!
<table> <tr> <td> <td>Even I have test Whizzywig in a running website, but since this module in ALPHA stage then I need any review of this module.
Thanks for bug reporting!
#4
One problem is at file upload in the Whizzywig editor, before submitting the node. I've attached to images for your reference. One is the file upload configuration settings, and the other is of the file upload dialog, showing 'jpg' file type unsupported error message with the jpg image that caused the problem loaded into the 'browse' input field. It should be accepted for upload, but is not.
The other problem is simply text formatting. I can set the layout how I like in the editor, but after submit, viewing the node does not look like how it did before submit.
FWIW, I've got the node set to use the "Full HTML" input filer, with the "html corrector", "html filter" and "line break converter" all turned off. For your reference with that, I've attached two more images: one the formatting of some text inside the editor, and that same text viewed just after submission. Also, I'm using the default Garland theme at the moment, if that makes any difference...
#5
I just tried the new alpha3 version, getting the same behavior as before.
#6
6.x-1.0-ALPHA4:
------------------------
Bug fix: rename list_dir() to whizzywig_list_dir()
Bug fix: "Allowed upload file extensions"
New: use "gif jpg" instead of ".gif .jpg" to follow CCK rule for file extension naming
------------------------
@bsenftner:
You right, there is a mistake in my function to check the file extension. Try 6.x-1.0-alpha4, tested fine here BUT:
- to follow CCK rule for file extension naming then I change
".gif .jpg"to a simple format:"gif jpg"- you must visit Administer - Site Building - Whizzywig then click Reset to default or enter new value of file extensions (without ".") then click Save configuration
For question #2: I will test it in Garland then inform you soon
#7
@bsenftner: for question #2
1. Show me the HTML code of your text in editor (click the HTML button)
2. Show me the HTML code result in your browser
Look like there is extra line break or paragraph there.
#8
I just tried the new alpha4, and the behavior is better, but there are still a few issues:
I modified my configuration to change the ".jpg .gif .png" to "jpg gif png", and that works. Now the uploads function. :)
On the configuration page, the help text shows periods before the extensions, I suggest removing them from that help text.
I tried uploading files with the extensions capitalized, such as "JPG" and "PNG", and those were not allowed. They should be.
Also, on my first inserted image on a page, if I do not alter the "align" control, when pressing "insert" on the main editor panel, the image is not actually inserted. Following images on the page seem to behave as I expect, but the first inserted image seems to be a bit touchy.
I've also seen the first image not respond to the left, center, and right justification buttons. Responding to that I've tried selecting the image, and then re-using the "insert image" button on the control bar to display the image alignment control there. Setting the alignment there works, but it makes a duplicate of the alt text, and puts that duplicate outside of the image's html tags, causing the alt text to be displayed as visible text.
#9
6.x-1.0-BETA1: Bug fixed: On the configuration page, the help text shows periods before the extensions, I suggest removing them from that help text.
6.x-1.0-BETA1: Bug fixed: I tried uploading files with the extensions capitalized, such as "JPG" and "PNG", and those were not allowed. They should be.
Still in review: Also, on my first inserted image on a page, if I do not alter the "align" control, when pressing "insert" on the main editor panel, the image is not actually inserted. Following images on the page seem to behave as I expect, but the first inserted image seems to be a bit touchy.
Still in review: I've also seen the first image not respond to the left, center, and right justification buttons. Responding to that I've tried selecting the image, and then re-using the "insert image" button on the control bar to display the image alignment control there. Setting the alignment there works, but it makes a duplicate of the alt text, and puts that duplicate outside of the image's html tags, causing the alt text to be displayed as visible text.
Also:
6.x-1.0-BETA1: Bug fix: Insert image for separated Teaser and Body (using excerpt)
6.x-1.0-BETA1 will uploaded soon, I need a little time to test this version and may be included some bug fixes.
#10
6.x-1.0-BETA1 available now!
#3: This my caused by you don't click on the text editor area. You need to click to text editor area then click Image button
#4" but it makes a duplicate of the alt text: confirmed, this a bug from Whizzywig library, what you can do right now is manually delete the "alt text" :(
After this Beta1, we will release Beta2, 3 and 4. We hope can release a stable release soon. I see several website use Whizzywig in production server.
Thanks for bug finding. I promise to fix any finding bugs as soon as possible, so we can have a stable version officially.
#11
A stable version has released, Whizzywig 6.x-1.0.