1 EDITING DELEGATE: shouldBeginEditingInDOMRange:range from 0 of DIV > BODY > HTML > #document to 3 of DIV > BODY > HTML > #document
2 EDITING DELEGATE: webViewDidBeginEditing:WebViewDidBeginEditingNotification
3 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
4 EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 0 of DIV > DIV > BODY > HTML > #document to 0 of DIV > DIV > BODY > HTML > #document toDOMRange:range from 1 of #text > DIV > DIV > BODY > HTML > #document to 5 of #text > DIV > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
5 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
6 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
7 EDITING DELEGATE: shouldInsertNode:#document-fragment replacingDOMRange:range from 5 of #text > DIV > DIV > BODY > HTML > #document to 5 of #text > DIV > DIV > BODY > HTML > #document givenAction:WebViewInsertActionPasted
8 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
9 EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 5 of #text > DIV > DIV > BODY > HTML > #document to 5 of #text > DIV > DIV > BODY > HTML > #document toDOMRange:range from 5 of #text > DIV > DIV > BODY > HTML > #document to 5 of #text > DIV > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
10 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
11 EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
13 Smart paste when pasting after a word and before a space and another word.
15 A space should be added between the preexisting word and the word that's pasted. No space should be added after the pasted word. It should like this:
18 execCopyCommand: <div id="test" class="editing"> test test </div>
19 execPasteCommand: <div id="test" class="editing"> test test test</div>