Hi Petr, I'm very happy to collaborate on this - although I suspect I'll be more a user of HtmlArea itself than a major contributor to it. I think that there is a reasonable amount of work to add rich controls to the editor and make it a very accessible and easy to use component, especially for the smarter features like image pickers and other dialogs etc so it would be great to work together on this. Is it possible for you to put your RichEditor on the web somewhere? I need to finish some things off today but upload it later on for you to look at.
Regards, John -----Original Message----- From: Petr Kobalíček [mailto:[EMAIL PROTECTED] Sent: 09 October 2008 11:57 To: qooxdoo Development Subject: Re: [qooxdoo-devel] HtmlArea for 0.8 still not usable Hi Guys, I'm happy for too much comments here :-) First a) about [HTMLSpanElement] bug: I'm corrected it, but unfortunally there is something wrong with my code (see latest commit), because it not behaves good (I don't know how to document it, there are growing number if <p> tags and I don't know). b) about anything else :) I have sometimes time to contribute to HtmlArea, I have read early all code, but I have sometimes problems to understand it at all (it's not badly written, but there seems be too much bugs in browsers and Html editing is COMPLEX to implement). Problem for me is that the "firefox focus bug" is still there, try this code: qx.Class.define("bfly.admin.Application", { extend : qx.application.Standalone, members : { // [Entry point] main: function() { // [SuperClass] this.base(arguments); // [Main Container] this._container = new qx.ui.container.Composite( new qx.ui.layout.VBox().set({ spacing: 1 }) ); this.getRoot().add(this._container, {edge:0}); // [MenuBar] this._tabView = new qx.ui.tabview.TabView(); this._container.add(this._tabView, {flex: 1}); for (var i = 0; i < 3; i++) { var page = new qx.ui.tabview.Page("Page " + i); var area = new htmlarea.HtmlArea(); page.setLayout(new qx.ui.layout.Canvas); page.add(area, {edge: 0}); this._tabView.add(page); } } } }); When you use TABs, you can't focus to previously hidden HtmlAreas in Firefox. c) And for John, John, I'm doing something very similar to your work. I called it RichEditor and it's HtmlArea with toolbars with some customizing way. My code depends to our system, but I try to make it generic. We can colaborate on this if you want. Cheers - Petr 2008/10/9 Fabian Jakobs <[EMAIL PROTECTED]>: > Andreas Ecker schrieb: >> Hi John! >> >> >>> I realise Alexander is on holiday right now so I'm leaving this as a note >>> for when he returns as much as anything. >>> >>> I'd like to add my vote to this - a rich text editor is important and we've >>> abandoned the FCKeditor integration because it's too slow. >>> >> >> Would be great we could collaborate on improving HtmlArea. Such a widget >> requires quite some community effort to iron out immanent cross-browser >> issues. >> >> >>> I've nearly finished a wrapper around HtmlArea which adds toolbars for >>> styling, formatting, images, links, etc in one Widget; I'd like to >>> contribute it as part of the HtmlArea package but obviously don't want to go >>> steaming in until Alexander is back. I'll post it here if anyone wants to >>> take a look in the mean time. >>> >> >> Yes, that could become a fine contribution to qooxdoo-contrib for people >> interested in an out-of-the-box solution for an HTML editor. Actually, >> we never wanted to package up such a combined solution (other than the >> sample included with HtmlArea), as one would need to support so many >> variants that it easily becomes (again) a heavy-weight configuration >> thingy. Attaching toolbars and other elements to HtmlArea should be >> fairly easy in qooxdoo to satisfy individual requirements. But if you >> think you've come up with a solution that could be widely used, that's >> great. >> >> Anyway, as I suggested it should rather be a separate contribution >> (maybe called "HtmlEditor") next to the existing HtmlArea. The area >> itself should stay a plain html editing widget without custom chrome >> (toolbars, etc.). Well, we'll figure out the details, also when Alex is >> back. >> > I absolutely agree that the core HtmlArea widget should only focus on > plain Html editing but why not include it into the current HtmlArea as > an example application. It is not required to have just one example > application in a contrib project. This way example editor is always in > sync with the editing component and serves as a good example. >> What do you think? In the meantime you could have a look at >> http://contrib.qooxdoo.org for the contribution details and then email >> me directly to answer all your questions and getting you started, >> >> > Best Fabian > > > -- > Fabian Jakobs > JavaScript Framework Developer > > 1&1 Internet AG > Brauerstraße 48 > 76135 Karlsruhe > > Amtsgericht Montabaur HRB 6484 > > Vorstand: Henning Ahlert, Ralph Dommermuth, Matthias Ehrlich, Thomas Gottschlich, Matthias Greve, Robert Hoffmann, Markus Huhn, Oliver Mauss, Achim Weiss > Aufsichtsratsvorsitzender: Michael Scheeren > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > qooxdoo-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel > ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
