Added support for disabled blocks, throw warning at runtime

This commit is contained in:
Waleed Latif
2025-01-31 18:30:25 -08:00
parent d0a3ad7120
commit ea823539ac
3 changed files with 10 additions and 2 deletions
+2 -1
View File
@@ -53,7 +53,8 @@ export class Serializer {
description: blockConfig.toolbar.description,
category: blockConfig.toolbar.category,
color: blockConfig.toolbar.bgColor
}
},
enabled: block.enabled
}
}
+1
View File
@@ -30,4 +30,5 @@ export interface SerializedBlock {
icon?: string
color?: string
}
enabled: boolean
}