Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3352806
D5779.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
631 B
Referenced Files
None
Subscribers
None
D5779.diff
View Options
diff --git a/native/chat/text-message-markdown-context.js b/native/chat/text-message-markdown-context.js
--- a/native/chat/text-message-markdown-context.js
+++ b/native/chat/text-message-markdown-context.js
@@ -18,7 +18,7 @@
const TextMessageMarkdownContext: React.Context<?TextMessageMarkdownContextType> = React.createContext<?TextMessageMarkdownContextType>(
null,
);
-const pressableMarkdownTypes = new Set(['link']);
+const pressableMarkdownTypes = new Set(['link', 'spoiler']);
const markdownASTHasPressable = (node: ASTNode): boolean => {
if (Array.isArray(node)) {
return node.some(markdownASTHasPressable);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Nov 24, 7:10 AM (20 h, 52 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2574440
Default Alt Text
D5779.diff (631 B)
Attached To
Mode
D5779: [native] Add spoiler to pressableMarkdownTypes
Attached
Detach File
Event Timeline
Log In to Comment