For the past couple nights I've been hacking away at integrating WYMEditor into TYPO3. For those of you who don't know, WYMEditor is a new RTE that aims to produce semantically correct XHTML output by focusing on what editors mean rather than what editors see. Here at Cast Iron Coding, we groan whenever a cient asks us to install the rich text editor for them, because we know where that road leads: tag soup, messy intermingling of structure and presentation, and display issues. To address this, we've started work on integrating WYMEditor into TYPO3. I'm attaching our initial ALPHA (repeat: ALPHA -- this should not be used in a production environment, and we take no responsibility for what happens if you ignore this warning) attempt at this project. Initial results are promising -- WYMEditor seems like a great tool, not just in terms of the solid output it produces, but also in terms of it's ability to easily pull in available styles from an external stylesheet, something which never seems to work as well in htmlarea as we'd like it to. In any case, you can find our alpha .t3x file at the end of this article. Feel free to install it in your sandbox site and take it for a test drive.
Let us know what you think -- if there's real community interest in this, we'll put some more man-hours into it and see where we can take it. Without a doubt, the biggest challenge will be to integrate the TYPO3 link, file, and image wizards into the RTE, but I suspect it's possible without too many modifications to the javascript source. Incidentally, thanks to Stanislas for his excellent work on the htmlarea RTE. The handful of hours I spent on this were made much easier because of his well-documented code, which I borrowed from liberally for this initial release. Implementing an RTE in TYPO3 is no small task, and I have a new appreciation for how much work he must have put into that extension over the last few years!
For more information, be sure to check out the following sites:
You can download the .t3x file here: download wymeditor extension
Article Cross-posted at castironcoding.com