Welcome to the HTML editing home page. HTML editing is a new feature that shipped with Safari 1.3 on Panther and Safari 2.0 on Tiger. Most importantly the WebKit editing engine is used to compose mail messages in Mail on Tiger. HTML editing can also be used in Web pages using WinIE-compatible APIs like contentEditable and designMode.
Architecturally the editor operates as a series of commands that are executed on a document's object model tree. Each command can be undone and redone just by performing the appropriate set of DOM operations. The implementation of these commands and other editing infrastructure can be found in the WebCore framework in the editing subdirectory.
Editing operations are also part of the WebKit API, and so there is some overlap with that project. Up until now our focus has mostly been on editing for applications that embed WebKit, but we plan to focus in the future on improving the in-page editing support via contentEditable.
Below are some of the tasks that need work in HTML editing.