2 ms·
<html contenteditable> is too powerful I think. You can paste HTML, which you might find desirable for stuff like pasting link anchors, but if you paste somethi
by emilioves 6y ago
<html contenteditable> is too powerful I think.
You can paste HTML,
which you might find desirable for stuff like pasting link anchors,
but if you paste something that uses tables for layout
(HN titles for example).
It leaves it in this weird state where you can delete the table contents but not the table itself.
I think for my purposes I'll use something like
data:text/html,<textarea>
with some CSS to make it fit the page size.
Update:
data:text/html,<textarea style='font-size:1.25rem;margin:0px;height:100%25;width:100%25;'>