WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED WONTFIX
57005
[Qt] use webkit as an editor
https://bugs.webkit.org/show_bug.cgi?id=57005
Summary
[Qt] use webkit as an editor
qt-info
Reported
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.
Attachments
Add attachment
proposed patch, testcase, etc.
Benjamin Poulain
Comment 1
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.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug