logoalt Hacker News

gethlyyesterday at 5:19 PM1 replyview on HN

FYI, IDEs and editors too don't use "textarea". Contenteditable essentially makes the web browser work like editor does.


Replies

mgyesterday at 5:50 PM

Contenteditable plus the CSS Custom Highlight API (which highlights ranges instead of elements) might indeed allow for a good solution. But I have not yet seen an editor that does that.

show 1 reply