YUI 2.3.0 Rich Text Editor Expriment with Yahoo Maps Embed

Last week, Yahoo has released a new version of YUI library with new components.

One of this component, the RTE (alias Rich Text Editor) is very interesting and powerfull… so i wanted to test it. I don’t have much idea on what to do with it… After few minutes ( :) ) I decided to make a RTE with a Yahoo Maps plugin (YUI team has made one with FlickR). Because I’m not a flash dev, i try to implement the Yahoo Maps Ajax API… but doesn’t work with the new YUI 2.0.3 so, i decided to use the Yahoo Maps Flash API!
The YUI RTE is still in beta, so lots of featureĀ has some problem to work as I want :). In fact, Embed are correctly rendered when they are in the textarea as default value but if we had them with the execCommand, they are not rendered.
So I had a small code in the editor-beta.js which rewrite a new iframe to render the embed (that’s not the good way but don’ t have more time to find a better solution). This experimentation seems to work on Firefox but I don’t know on other browser…

RTE

Check It


About this entry