Fix for this bug:
<rdar://problem/
3906930> Hitting return key in editable content inserts br elements instead of blocks
* WebView.subproj/WebHTMLView.m:
(-[WebHTMLView insertNewline:]): One-line change to call insert-block rather than insert-br method
on bridge.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@8125
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
+2004-12-06 Ken Kocienda <kocienda@apple.com>
+
+ Reviewed by Harrison
+
+ Fix for this bug:
+
+ <rdar://problem/3906930> Hitting return key in editable content inserts br elements instead of blocks
+
+ * WebView.subproj/WebHTMLView.m:
+ (-[WebHTMLView insertNewline:]): One-line change to call insert-block rather than insert-br method
+ on bridge.
+
2004-12-04 Darin Adler <darin@apple.com>
Reviewed by John.
// Perhaps we should make this delegate call sensitive to the real DOM operation we actually do.
WebBridge *bridge = [self _bridge];
if ([self _shouldReplaceSelectionWithText:@"\n" givenAction:WebViewInsertActionTyped]) {
- [bridge insertLineBreak];
+ [bridge insertParagraphSeparator];
}
}