Re:Slate JS – A customizable framework for building rich tex...
by Kiro on Thursday November 15, 2018 @04:02AM
(#18457887)
Would this be overkill to use just for a textbox with realtime code highlight (for SQL)? That's the only feature I'm interested in.
[ Parent
| on HN ]
Re:Slate JS – A customizable framework for building rich tex...
by playworker on Thursday November 15, 2018 @04:29AM
(#18457995)
Yes, you probably want something like CodeMirror https://codemirror.net/
Re:Slate JS – A customizable framework for building rich tex...
by joshmarlow on Thursday November 15, 2018 @08:05PM
(#18465239)
I'd second CodeMirror - I've been tinkering with it (v2 - https://codemirror.net/2/) for a couple of weeks and it's pretty nice to use. I'm using a bit of simple syntax highlighting.
There's also a react wrapper (for versions 1 and 2).
Re:Slate JS – A customizable framework for building rich tex...
by jim_bailie on Thursday November 15, 2018 @09:43PM
(#18465882)
Check out Ace Editor too:
https://ace.c9.io/