Source code

Revision control

Other Tools

Test Info:

<html>
<head>
<script>
function start () {
const selection = window.getSelection()
selection.setPosition(hr, 0)
document.execCommand('delete', false)
}
</script>
<body onload="start()">
<p id="" hidden="">
<canvas id="" contenteditable="">
<hr id="hr" contenteditable="true">
3uW4*</hr></canvas>
</p>
</body>
</html>