1 <html> 2 <head> 3 4 <style> 5 .editing { 6 border: 1px solid red; 7 padding: 12px; 8 font-size: 24px; 9 } 10 </style> 11 12 <title>deleteToEndOfLine: test</title> 13 </head> 14 <body> 15 <p>First add the following line to your ~/Library/KeyBindings/DefaultKeyBinding.dict then relaunch Safari: "^k" = "deleteToEndOfLine:";</p> 16 <p>Place the cursor between the two 'o's in 'Foo' and hit ^k twice. The first should result in 'Fo\nbar' and the second should result in 'Fobar'.</p> 17 <div class="editing" contentEditable><div>Foo</div><div>bar</div></div> 18 19 </body> 20 </html> 21