🎈 Welcome to the Marketplace — Explore and discover the ecosystem around DatoCMS, and share your own work with the community!

HTML Table Editor

Simple table plugin for DatoCMS

This is a Community Plugin! Learn how create your own plugin, or copy and remix existing ones in our documentation

DatoCMS HTML Table Editor

Simple table plugin for DatoCMS

Preview

Features

  • Title
  • Add/remove column
  • Add/remove row
  • Define main column/row
  • Formatting
  • Images

Output

type Table = {
title: string | undefined
options: {
mainColumn: number
mainRow: number
}
data: Array<Array<Cell>>
}

Types

import { StructuredTextDocument } from 'react-datocms'
import { Upload } from 'datocms-plugin-sdk'
enum CellType {
StructuredText = 'structuredText',
Image = 'image'
}
type CellStructuredText = {
id: string
type: CellType.StructuredText
value: StructuredTextDocument
}
type CellImage = {
id: string
type: CellType.Image
value: Upload
}
type Cell = CellStructuredText | CellImage

> [!NOTE] > Plugin not actively maintained. > If you want to contribute, please open an issue or a pull request.

Subscribe to our newsletter! 📥
One update per month. All the latest news and sneak peeks directly in your inbox.
support@datocms.com ©2024 Dato srl, all rights reserved P.IVA 06969620480