Bug 57005 - [Qt] use webkit as an editor
Summary: [Qt] use webkit as an editor
Status: RESOLVED WONTFIX
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit Qt (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Nobody
URL:
Keywords: Qt, QtTriaged
Depends on:
Blocks:
 
Reported: 2011-03-24 04:14 PDT by qt-info
Modified: 2011-03-24 05:53 PDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description qt-info 2011-03-24 04:14:49 PDT
I would like to be able to use qtwebkit as an html editor much as mshtml can be used.

While a lot of the effort seems to be around exposing the dom and events to javascript, I would like to be able to do it from c++ so that I can work with 30+ MB documents without severe lag, etc.

There is currently a webkit editor as part of the qtwebkit that does much of what I am interested in doing. The problem is that the qtwebkit build process hides the webkit api's from the developer as part of the build process. This can be changed between the qmake and compile process and I have had some success with it. Without exposing the api, on a basic level, there is no way to, for example, to manipulate the html elements in the current selection.

I would like to see the underlying webkit editing api exposed so that qtwebkit could be used as an html editor or, alternatively, qtwebkit methods created to mirror a qtwebkit editor matching that of the webkit one.
Comment 1 Benjamin Poulain 2011-03-24 05:53:23 PDT
The solution is not to expose the low level API. We cannot do that because we cannot ensure binary compatibility for those.

The solution is to expose text node and the selection via new APIs. There are already separate bugs open for that.