2 March 2008
As with most of my output, I originally coded widgEditor to satisfy my own curiosity about WYSIWYG editors. Its actual uptake amongst users has – and still – takes me thoroughly by surprise. And that's the main reason why I'm feeling a bit guilty at letting it languish in non-maintenance limbo.
Although there's been silence for almost 3 years, the development of widgEditor has continued in private, and I've changed the code enough to be able to release a version 2 ... soon. But for the moment I'm issuing a point upgrade to the original; just enough to fix the most annoying bug: the inability to use widgEditor in Firefox 2+ when it starts with no content.
The bug is – rather strangely – caused by the way that the stylesheets are created inside the widgEditor iframe. Previously, I'd just write an entire HTML document into the iframe using document.write() (shudder), but it seems Firefox doesn't like this too much. Creating the stylesheets using standard DOM methods gets around this bug. Internet Explorer still needs the document.writed way, so there's a small code fork. Problem fixed.
As a minor bonus to the point release, the code for widgEditor is now hosted on code.google.com, so anyone who has bugs, feature requests, etc. can now post them using the tools there. Version 2 will be going up there as well, so stay tuned!
Follow me on Twitter
To hear smaller but more regular stuff from me, follow @themaninblue.
- Resolution dependent layout update
- footerStickAlt: A more robust method of positioning a footer
- widgEditor: A simple, standards-compliant WYSIWYG HTML editor
- Accessible, stylish form layout