Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

<body>
<table contenteditable></table>
</body>
<script>
window.onload = function() {
// For emulating the traditional behavior, collapse Selection to end of the
// text node at end of the <body>.
getSelection().collapse(
document.body.lastChild,
document.body.lastChild.length
);
document.execCommand("styleWithCSS", false, false);
document.designMode = "on";
document.execCommand("insertUnorderedList");
document.execCommand("justifyFull");
};
</script>