We create a custom MarkdownSpoiler component to render spoiler content in-line, but to add additional functionality within the component in order to not dilute rules.react.js.
Depends on D5546
Differential D5553
[web] Create a MarkdownSpoiler component for the web implementation to render when parsed rohan on Nov 7 2022, 6:13 PM. Authored by Tags None Referenced Files
Details We create a custom MarkdownSpoiler component to render spoiler content in-line, but to add additional functionality within the component in order to not dilute rules.react.js. Depends on D5546 The expected behavior is the same as the previous diff - the spoiler text still renders in a span.
Diff Detail
Event Timeline
Comment Actions Can we remove the children prop? Doesn't look like it's being used in this diff
|