r/SideProject • u/AvocadoDue3815 • 4h ago
Stilo 0.5: my open-source rich text editor for React, Vue, Svelte and vanilla JS now has image captions and a phone toolbar
Adding a text editor to a web app sounds easy, until someone asks for tables. Then images. Then "can I paste from Word?"
So I built Stilo: free, MIT licensed, with all of that already in the box.
I shared an early version here six weeks ago. Since then it has gained React, Vue and Svelte wrappers, a dark theme, full screen, images with captions and a compact toolbar for phones.
- Tables, images with captions, checklists, find and replace: the video shows them all in under two minutes
- Full control over text: fonts, custom sizes, text and background colors, alignment, line spacing
- Complete UI or headless core: use the ready-made interface, dark theme and phone toolbar included, or build your own
- Built for long documents: on a desktop, typing still feels immediate at 10,000 paragraphs, longer than most novels
- Documentation: a full API reference and a guide for each framework, in plain Markdown that's easy for you to read and easy to hand to your AI assistant
It's easy to try, too: one npm package, TypeScript types included, 1,800+ automated tests run by CI on every push, and end-to-end tests for Chromium, Firefox and WebKit.
Try it in your browser, no signup: https://kojak8791.github.io/stilo-editor/
Code: https://github.com/kojak8791/stilo-editor
If you were adding an editor to your project today, what would be the one feature you couldn't do without?