Add video block
This commit is contained in:
@ -7,11 +7,17 @@ enum ContentBlock: String, CaseIterable {
|
||||
|
||||
case video
|
||||
|
||||
case button
|
||||
|
||||
case buttons
|
||||
|
||||
var processor: BlockProcessor.Type {
|
||||
switch self {
|
||||
case .audio: return AudioBlock.self
|
||||
case .swift: return SwiftBlock.self
|
||||
case .video: return VideoBlock.self
|
||||
case .button: return ButtonBlock.self
|
||||
case .buttons: return ButtonsBlock.self
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user