[Webkit-unassigned] [Bug 19456] [GTK] Editing capabilities

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jun 27 19:29:15 PDT 2008


------- Comment #2 from mbarnes at redhat.com  2008-06-27 19:29 PDT -------
(In reply to comment #1)
> gtkhtml_editor_get_paragraph_data()
> gtkhtml_editor_set_paragraph_data()
> ^ For accessing individual paragraph contents(?)

I think this is for tagging paragraphs with metadata, such as whether it's a
signature paragraph or not.  Evolution treats signature paragraphs special.

> Other things to note are the spell checking support and smiley conversion (we
> should make it easy for this kind of cute feature to be implemented directly 
> in the app since it doesn't really belong in the widget).

If WebKit could not try to implement spell checking itself but just provide a
suitable virtual API to subclass and the ability to mark misspellings, that
would be preferable.

> Another interesting design decision is that the editor is a subclass of the
> HTML widget. It might be worth doing this kind of separation over WebView.

To clarify, the HTML editor is just a GtkWindow and contains a GtkHTML
instance.  Evolution's message composer is a subclass of the HTML editor
window.  I anticipate swapping the GtkHTML instance for a WebView instance
without changing the fundamental design.

Also, does WebKit have the capacity to convert HTML content to plain text and
vice versa?  GtkHtml has such a converter but it may need some updating.

Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

More information about the webkit-unassigned mailing list