[Q] replacing the textarea widget

David Faure faure at kde.org
Fri Sep 3 12:49:57 BST 2004


On Friday 03 September 2004 12:59, Koos Vriezen wrote:
> On Thu, Sep 02, 2004 at 11:04:17PM +0200, Koos Vriezen wrote:
> > Btw. anyone looked at wysiwyg editors like FCKeditor. Is this where
> > caret mode was designed for?
> 
> Here is the demo btw. http://www.fckeditor.net/Demo/
> It makes khtml feel like the pre-CSS days :-(
> 
> Anyway, first thing I found looking at the samples that comes with the
> sources (you must access these by using a web server) is this testcase:
>  <html><head>
>  <script>function loaded() {
>     window.open("http://www.kde.org", "frame1");
>     }
>  </script></head>
>  <frameset rows="100,*" onLoad='loaded()'>
>         <frame name="frame1" SRC="about:blank">
>         <frame name="frame2" SRC="about:blank">
>     </frameset>
>  </html>
> IE and Mozilla open kde.org in frame1, but konqueror opens it as a
> separate window. A quick look shows that there is no code for it in
> openWindow().

There is (konqueror's findFrame stuff etc.). Sounds like your changes broke it :)
I lost overview a bit, but do you store the name in khtml::ChildFrame?
AFAIU you don't create a khtmlpart for about:blank anymore, so the name has
to be stored somewhere else, and KHTMLPart::findFrame has to see it.

-- 
David Faure, faure at kde.org, sponsored by Trolltech to work on KDE,
Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).




More information about the kfm-devel mailing list