Hi Candide, One more note about the DHTML runtime: if you use <text/> in DHTML, the setText() API just sets the innerHTML property of the underlying div. Therefore, you should be able to set it to contain arbitrary DHTML. Also, you will probably need to serve the TinyMCE code from the LPS to get around JavaScript security restrictions. Again, if you have questions, let me know!
Regards, Max Carlson OpenLaszlo.org Candide Kemmler wrote: > Hi, > > I have a problem: I would like to develop a sophisticated blogging > engine on top of laszlo. The thing is: there's no "real" text editor for > this platform. Even the "rich text" editor doesn't support images (or > smileys). Besides, editing text in flash has always been a chore and I > think it will always be. > > That's the reason why I recently got into the process of building > legals. Now, making a "real" text editor from scratch is a complex > endeavour in itself, and besides, that task has already been > accomplished several times. My personal favourite is TinyMCE. > > I think it could well be impossible to neatly integrate OpenLaszlo > legals with TinyMCE (correct me if I'm wrong), mostly because TMCE uses > an iframe to edit a document's contents. What I'd like to do is let the > browser handle things so that everything is transparent to the end-user. > Of course that implies that developers have a means to communicate > between their laszlo apps and their DHTML javascript. > > I would really like to experiment a bit on this subject. I think > OL/DHTML javascript communication is not ready yet. But it shouldn't be > too difficult to implement, or am I mistaken here? > > Anyway, I'd really appreciate a hint or two about the source code, so I > could figure out where to start... > > Cheers, > > Candide > > -- > Candide Kemmler > 3 rue du Bailli - 1000 Bruxelles > mobile:+32485067980 > > > ------------------------------------------------------------------------ > > > _______________________________________________ > Laszlo-dev mailing list > [email protected] > http://www.openlaszlo.org/mailman/listinfo/laszlo-dev _______________________________________________ Laszlo-dev mailing list [email protected] http://www.openlaszlo.org/mailman/listinfo/laszlo-dev
