Re: [csswg-drafts] [css-highlight-api] Need to support a mechanism for creating ranges inside textarea and input elements (#4603)

+1 on adding support for custom highlights `textarea`/`input`. Got numerous requests from authors about this.

As for `[contenteditable]`: I could get it to work but it was a lot of jumping through hoops mainly because of `[contenteditable]` itself doing Weird Thingsā„¢. Demo + Write-up: https://www.bram.us/2024/02/18/custom-highlight-api-for-syntax-highlighting/#highlighting-contenteditable

-- 
GitHub Notification of comment by bramus
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4603#issuecomment-1951906873 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Monday, 19 February 2024 08:10:41 UTC