Bug 57005
Summary: | [Qt] use webkit as an editor | ||
---|---|---|---|
Product: | WebKit | Reporter: | qt-info |
Component: | WebKit Qt | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED WONTFIX | ||
Severity: | Normal | CC: | benjamin |
Priority: | P2 | Keywords: | Qt, QtTriaged |
Version: | 528+ (Nightly build) | ||
Hardware: | All | ||
OS: | All |
qt-info
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.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Benjamin Poulain
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.