This post originated from an RSS feed registered with Java Buzz
by Warner Onstine.
Original Post: Tapestry Editor component
Feed Title: Tapestry Live
Feed URL: http://www.jroller.com/WarnerOnstine/feed/entries/rss
Feed Description: Home of the Tapestry Live book by Warner Onstine.
A co-worker of mine was stuck with a problem with using FCKEditor to edit Tapestry pages. The problem he ran into was when he switched back and forth from the Rich view to the source view the custom Tapestry attributes that were camel-cased (i.e. : clientValidationEnabled=“true“) became lower-cased automatically. Now, when using FCKEditor you can specify a DTD and even when you specify it as XHTML 1.0 Transitional it does this.
After some digging on my part it turns out that all attribute names have to be “lower-cased”http://www.wdvl.com/Authoring/Languages/XML/XHTML/dif.html . So, how to handle this? One option would be to use a lower-level DTD (like HTML 4) but then you lose some of the other validation. I also hunted through the configuration options of FCKEditor but couldn‘t find anything really good on validating XML using it (and several relatively fruitless searches).
Then I ran across TinyMCE which allows for customizing the XHTML output and formatting in a much more fine-grained manner.
I‘m curious if others had looked at these two Rich-text editors in more detail and had some experiences with either of these in this kind of capacity.
On another note I just talked with my boss and got permission to come up with a plan for Open-Sourcing some of our cooler items that are more generic (I‘m thinking this component and my Portal component I‘m working on for starters). I‘ll keep everyone up to date on the progress of this.