Alessio Gravili
43cdccdef0
feat(richtext-lexical): support escaping markdown characters ( #11784 )
...
Fixes https://github.com/payloadcms/payload/issues/10289 and
https://github.com/payloadcms/payload/issues/11772
This adds support for escaping markdown characters. For example,` \*` is
supposed to be imported as `*` and exported back to `\*`.
Equivalent PR in lexical repo:
https://github.com/facebook/lexical/pull/7353
2025-03-20 10:29:45 -06:00
Alessio Gravili
563c21bec0
feat(richtext-lexical): support single-quoted jsx property values in mdx converter ( #11290 )
...
The following MDX:
```tsx
<Banner type='info'>
Hello
</Banner>
```
was not able to be parsed by the lexical mdx converter, as the jsx props string extractor did not support the single quotes around the `info` string.
2025-02-19 21:11:50 +00:00
Alessio Gravili
ee3c2cc16f
fix(richtext-lexical): empty lines were incorrectly stripped from mdx blocks if doNotTrimChildren was set to true ( #10287 )
...
This caused empty lines to disappear from code blocks
2024-12-31 21:58:46 +00:00
James Mikrut
6af6e44683
docs: adds notes about importance of serverURL for verify / forgot-pa… ( #10248 )
...
Fixes #10235
2024-12-30 10:20:28 -05:00
Alessio Gravili
c01b4bfb79
fix(richtext-lexical): ensure markdown normalization does not merge escaped code block lines ( #10230 )
2024-12-30 01:52:12 +00:00