I made a simple example using the quill rich text editor library and basic-webserver, and thought I might share it here for anyone interested.
I was looking for a simple way to give my htmx apps an editor and found this library which looks nice.
Here is a gist with the source code -- I'm currently using roc built from source -- but this should work with the latest nightlies.
This demo just loads some content from a sqlite database, so when you refresh the page it remembers your last input. It also uses from client-side JS to debounce the updates back to the server.
looks cool! how do I specify the platform if I want to try this locally? (I'm still a Roc noob...)
@Peter Marreck I updated the gist to use the latest version of basic-webserver
https://gist.github.com/lukewilliamboswell/567348a9bfa85e4e9cd2f04939de6d08
I made that before the changes landed in a release so it was still using an older version and a local path. Should be usable now just using a nightly roc, let me know if you have any issues.
Nice! Works great now!
I used Quill on a project like 7 years ago and really liked it, but then it got abandoned and was in danger of me having to swap it out with something else due to lack of updates; good to see someone's picked up the slack on it
Last updated: Jul 06 2025 at 12:14 UTC