Closed honkskillet closed 3 years ago
:+1:
Did you try using -webkit-text-fill-color: transparent;
instead of semi-transparent colors ?
-webkit-text-fill-color: transparent;
Modern browsers support caret-color
property.
So, it is possible to set color
to transparent
and caret-color
to black
.
Brilliant @Yaffle, perhaps it's time to revive this project
This has been implemented, thanks @Yaffle
I know it's not one of the officially supported browsers, but I tried it in iOS (UIWebView). There is a shadow of the text. It looks like maybe the underlying textarea is being render in light gray and is slightly offset a couple pixels. Also it is murderously slow, even for a small bit of text. On the plus side, it reacts to touch events properly (no 300ms delay, drag selection ok, etc.). These are issues that make other similar solutions like codeMirror unusable on iOS.