Add labels block

This commit is contained in:
Christoph Hagen
2025-01-06 17:40:35 +01:00
parent cc19ff4a6f
commit 8e19adda70
5 changed files with 40 additions and 3 deletions

View File

@ -11,6 +11,8 @@ enum ContentBlock: String, CaseIterable {
case buttons
case labels
var processor: BlockProcessor.Type {
switch self {
case .audio: return AudioBlock.self
@ -18,6 +20,7 @@ enum ContentBlock: String, CaseIterable {
case .video: return VideoBlock.self
case .button: return ButtonBlock.self
case .buttons: return ButtonsBlock.self
case .labels: return LabelsBlock.self
}
}
}