feat: Add table node with default class attribute

This commit is contained in:
Gauthier Daniels 2025-04-18 10:29:38 +02:00
parent d338a674e2
commit d815c98a23

View File

@ -51,6 +51,16 @@ const nodes = {
},
},
},
table: {
...defaultNodes.table,
attributes: {
...defaultNodes.table.attributes,
class: {
type: String,
default: "block max-w-full overflow-x-auto border-collapse text-sm",
},
},
},
th: {
...defaultNodes.th,
attributes: {