What you are referring to is part of a Mail/WebKit SPI. As such, it is
undocumented and subject to incompatible change without notice, and we
highly discourage you from using it. We do encourage you to write a
bugzilla requesting API support for the functionality you need.
Dave
On Feb 2, 2007, at 1:06 PM, piet wrote:
When composing a reply in Apple Mail, if the user types Return
inside the
quoted message, the quoted content is broken in two parts, the
cursor is
inserted in-between and any character typed by the user is no longer
part of
the quoted content.
I would like to implement this behavior in an editor.
So far, I found that:
- The quoted content must be a BLOCKQUOTE with TYPE="cite".
- WebView implements a category called WebViewEditingInMail that
defines 4
methods, one of which is _insertNewlineInQuotedContent which calls
insertParagraphSeparatorInQuotedContent.
What is the proper way to implement this: should I implement
shouldInsertText and call _insertNewlineInQuotedContent when the
text is
"\n", or does Apple Mail has some other way to let the WebKit know
when to
insert a paragraph separator?
____________________________________________________________________________________
No need to miss a message. Get email on-the-go
with Yahoo! Mail for Mobile. Get started.
http://mobile.yahoo.com/mail
_______________________________________________
webkit-dev mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-dev
_______________________________________________
webkit-dev mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-dev