Update: openWYSIWYG Is Now Working With Safari
I FIXED THE BUGS, NOW WHAT?
Well, I'm back, relaxed and dove straight into working on the Safari fix for openWYSIWYG. I figured out the issue when attempting to insert a new TABLE into a blank editor window. That little bug has been squashed. You can grab the the Safari version by visiting this blog entry.
So, what next? Well, that's a darn good question. I still think this editor needs some improvements to make it more cross-browser friendly, make improvements on the some of the core functions (especially some of the node functions), improve how it handles the HTML code and a few other things that I think it needs help on.
One of the interesting things I discovered while working in the code, is where the original authors pulled some of their core functionality (Or they may have wrote it originally, not pointing any fingeres here). If you visit the Mozilla site, you will find a nice little demo editor that basically resembles our beloved openWYSIWYG editor. Which by the way shares the same Safari bug for the TABLE insert.
Mozilla - Converting an app using document.designMode from IE to Mozilla.
Mozilla - Rich Text Editing Demo
Look familiar? I thought so. This version seems to work rather well for Safari. My guess it that the openWYSIWYG team added the blocks for Safari in their version. All I did was pull the blocks back out.
Anyway, the most update version should work splendidly for everyone. If you run across some problems, please let me know. Keep coming back, because I plan on making even more improvements in the future!
Posted at the chipsmunks forum.
http://www.chipmunk-scripts.com/board/index.php?fo...
I like your effort to make the openWYSIWYG 1.4.7 workable in Safari.
Now it would be great to have version 1.4.7 work in the chipmunks forum as well. I tried with a simple replacement of the script, but that doesn't work.
Just a comment ;-)
Mads Rasmussen
I'm not familiar with Chipmunk forums. I registered over there and I'll take a look to see if I can't get it working.
Could you let me know what the main problems are?
But now I can't make any edits to images. When I try to, the script fails to pull the image data to the popup and the image goes blank.
Any idea how to fix this?
I haven't tested this in Chrome yet (They don't have a Mac version yet), but it should be working ok in Safari... what error are you getting? Or, try to explain what's going on. Some of the functionality of OpenWYSIWYG is a little buggy by nature.
The popup box with the image setting (url, alignment, etc) pops up blank where as before it was popping up fully populated with the data from the image.
So now when you click 'Submit' it sends back blank data and essentially wipes the image.