Back to articles
Adding Rich Text to Shiny for Python with Quill.js
How-ToTools

Adding Rich Text to Shiny for Python with Quill.js

via Dev.to TutorialIndia Owens

If you've been building internal data tools with Shiny for Python and hit the wall where your users need to format text — bold, italics, headings, the works — you've probably noticed there's no native rich text component. There's a good reason for that: Shiny is designed for lightweight, reactive data applications, not document editors. But production doesn't care about design philosophy. I ran into this exact situation building an internal specification management tool: the application had to support rich text because the analysts using it needed formatted notes alongside their data inputs. Shiny was the right framework for everything else, so I needed a way to extend it rather than abandon it. The solution is Quill.js — an API-driven rich text editor that plays nicely with Shiny's JavaScript extension model. This article walks through exactly how to wire them together, including the production-grade version with a task button that handles async database submissions. ⚠️ Before you rea

Continue reading on Dev.to Tutorial

Opens in a new tab

Read Full Article
2 views

Related Articles