Bug 1348851 - Use new block when better selection isn't found.

Tag #1375
This commit is contained in:
Matt A. Tobin 2020-04-17 05:27:56 -04:00 committed by Roy Tam
commit 9220996e92
3 changed files with 35 additions and 11 deletions

View file

@ -0,0 +1,19 @@
<!DOCTYPE>
<html>
<head>
<meta charset="UTF-8">
<script>
function boom(){
document.designMode = "on";
document.execCommand("insertlinebreak");
document.designMode = "off";
document.designMode = "on";
document.execCommand("insertunorderedlist");
}
addEventListener("DOMContentLoaded", boom);
</script>
</head>
<body style="display:flex;">
<!--comment-->
</body>
</html>