[Webkit-unassigned] [Bug 204110] New: [GTK] Extend WebKitEditorState capabilities

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Nov 12 04:41:09 PST 2019


https://bugs.webkit.org/show_bug.cgi?id=204110

            Bug ID: 204110
           Summary: [GTK] Extend WebKitEditorState capabilities
           Product: WebKit
           Version: Other
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebKitGTK
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: mcrha at redhat.com
                CC: bugs-noreply at webkitgtk.org

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).

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20191112/494201db/attachment.htm>


More information about the webkit-unassigned mailing list