Skip to content

A platform for community discussion. Free, open, simple.

DEV: allow the "default" style button in chat message blocks (#35796)

Kris2a1cc38b7cd6
diff --git a/plugins/chat/lib/chat/schemas/message_blocks.rb b/plugins/chat/lib/chat/schemas/message_blocks.rb
index e8f0e193900..a631a814ef9 100644
--- a/plugins/chat/lib/chat/schemas/message_blocks.rb
+++ b/plugins/chat/lib/chat/schemas/message_blocks.rb
@@ -40,7 +40,7 @@ module Chat
},
style: {
type: "string",
- enum: %w[primary danger],
+ enum: %w[default primary danger],
},
},
required: %w[schema_version type text],