WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
204110
[GTK] Extend WebKitEditorState capabilities
https://bugs.webkit.org/show_bug.cgi?id=204110
Summary
[GTK] Extend WebKitEditorState capabilities
Milan Crha
Reported
2019-11-12 04:41:09 PST
I consider WebKitEditorState a very handy thing, it can avoid unnecessary calls to the WebKitWebProcess side and some asynchronous calls as well, but it's current state is very limited. I'd like to ask you to extend it to: a) make all the webkit_editor_state_is_XXXX_available () also properties with proper GObject notifications; b) add more flags into the WebKitEditorTypingAttributes. For the b) it currently supports only bold/italic/underline/strikethrough, but the editing commands can influence more. For me, adding at least Subscript and Superscript would be handy. I have my own javascript code to reach to these, thus I (at least right now) do not rely on WebKitEditorState, but checking for style value when the selection is not collapsed seems to be tricky (I always try only the Selection::baseNode style, not selection's content; basically because I'm not sure how to do it properly).
Attachments
Add attachment
proposed patch, testcase, etc.
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