blob: 4b0a948ce31d81b8691da001050709cff9381320 [file] [log] [blame]
<style>
blockquote {
color: blue;
border-left: 2px solid blue;
margin: 0px;
padding: 0 0 0 20px;
}
</style>
<p>This tests pasting a blockquote after another blockquote.</p>
<div id="div" contenteditable="true"><blockquote type='cite'>Line 1</blockquote><br></div>
<script>
var sel = window.getSelection();
var div = document.getElementById("div");
sel.setPosition(div, 1);
document.execCommand("InsertHTML", false, "<blockquote type='cite'>Line 2</blockquote>");
</script>