HomePhabricator
Diffusion Comm 6a03fa1f9797

Add spoiler rule to native in fullMarkdownRules

Description

Add spoiler rule to native in fullMarkdownRules

Summary:
Add the spoiler rule for native to use the capture and parse functions from the previous diff, and return a <Text> ... </Text> React element with a spoiler style.

Linear Issue: https://linear.app/comm/issue/ENG-1983/add-spoiler-rule-to-fullmarkdownrules-in-nativemarkdownrulesreactjs

Depends on D5346

Test Plan:
Tested the spoiler text being captured with a temporary spoiler style, and I will attach the photos below. ENG-1984 will handle the styling for the spoiler text.

Example:

Simulator Screen Shot - iPhone 14 Pro - 2022-10-11 at 14.39.22.png (2×1 px, 232 KB)

Simulator Screen Shot - iPhone 14 Pro - 2022-10-11 at 14.39.33.png (2×1 px, 276 KB)

Reviewers: atul, ginsu, abosh, ashoat, tomek

Reviewed By: atul, ginsu, ashoat

Subscribers: ashoat, tomek

Differential Revision: https://phab.comm.dev/D5347

Details

Provenance
rohanAuthored on Oct 12 2022, 1:58 PM
Reviewer
atul
Differential Revision
D5347: Add spoiler rule to native in fullMarkdownRules
Parents
rCOMMcee46d8c4a98: [keyserver] APIs for finishing client side of PAKE login
Branches
Unknown
Tags
Unknown