Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
bowlingx
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
31.
▲
by
bowlingx
11y ago
yeah, It will report the underlying textnode (if you are lucky). It's really inconsistent across browsers: some report the h1 tag, some the underlying node. Depends also how far you go and if you mark over the tag (without highlighting
32.
▲
by
bowlingx
11y ago
Thank you :). Good point, I just thought it looks nice (works not in firefox though :/). Of course other colors would be possible, it's just a class that's applied on the wrapping elements. I will continue to develop the libr
33.
▲
by
bowlingx
11y ago
Thank you for the Feedback. The library only focuses on render a selection, either a serialized one (it's not yet shown in the demo) or a selection made by the user. But of course you may use it with any other library :)
34.
▲
by
bowlingx
11y ago
I build a fast small text-selection renderer that creates serializable text-renderings. Feedback appreciated. Right now it lacks some documentation how to use it, but I hope the sample makes clear what the library does.
35.
▲
Show HN: A DOM text-selection highlight renderer
(bowlingx.github.io)
93 points
by
bowlingx
11y ago
|
42 comments
36.
▲
Show HN: A lightweight but complete html5-form validation library
(bowlingx.github.io)
3 points
by
bowlingx
11y ago
|
0 comments