This commit is contained in:
2024-04-24 19:39:33 +10:00
parent 4c9d1667b6
commit 988dbd4edc
20 changed files with 89 additions and 101 deletions

View File

@@ -29,7 +29,7 @@ export const Box = Node.create({
defining: true,
parseHTML() {
return this.options.types.map((type) => ({
return this.options.types.map((/* type */) => ({
tag: 'div',
getAttrs: (node) => {
// Extract the class attribute and find the type based on the class