Source code
Revision control
Copy as Markdown
Other Tools
<!DOCTYPE html>
<html class="reftest-wait">
<meta charset="iso-8859-8">
<style>
.target {
text-fit: grow consistent;
text-box: trim-both cap text;
}
</style>
<body contenteditable=true>
<div class="target">a b</div>
<script>
requestAnimationFrame(() => {
requestAnimationFrame(() => {
document.body.focus();
document.execCommand("selectAll");
document.execCommand("InsertImage");
requestAnimationFrame(() => {
document.documentElement.removeAttribute('class');
});
});
});
</script>
</body>
</html>