Page MenuHomePhabricator

[native] Move useTextMessageMarkdownRules to message-list-types.js
ClosedPublic

Authored by ashoat on Nov 29 2022, 7:19 AM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Dec 23, 4:37 AM
Unknown Object (File)
Mon, Dec 23, 2:25 AM
Unknown Object (File)
Sat, Dec 21, 2:51 AM
Unknown Object (File)
Sat, Dec 14, 7:07 AM
Unknown Object (File)
Mon, Dec 2, 7:05 PM
Unknown Object (File)
Nov 8 2024, 4:16 PM
Unknown Object (File)
Nov 8 2024, 4:16 PM
Unknown Object (File)
Nov 8 2024, 4:08 PM
Subscribers

Details

Summary

I want to use this function in another place, so we can generate and cache the Markdown AST upstream of InnerTextMessage in order to determine whether the Markdown includes a "pressable" (link or spoiler for now, but @mention in the future).

Test Plan

Flow

Diff Detail

Repository
rCOMM Comm
Lint
No Lint Coverage
Unit
No Test Coverage