BackSanity CMS Plugin
[01]Overview
A Sanity Studio plugin that introduces a dedicated STL editor and live preview for building complex tables beyond the limitations of standard Portable Text tables. Table data is stored as raw STL strings and rendered using the structured-table core package.
[02]Challenge
Sanity's default table blocks struggle with advanced layouts such as merged cells, multi-level headers, and rich formatting, making complex tables difficult to author and maintain.
[03]Solution
Integrated Structured Table Language into Sanity Studio via a custom input and preview workflow, allowing editors to write STL directly while leveraging the structured-table package for parsing and rendering both in Studio and on the frontend.
[04]Impact
- →Enabled complex table layouts with row spans, column spans, header, footer, rich cells and more
- →Improved editor experience with real-time table previews inside Sanity Studio
- →Version-control-friendly table definitions stored as readable STL strings
- →Seamless SSR-compatible rendering for frontend frameworks like Next.js