Skip to content

lexical: Can't backslash escape markdown characters #10289

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
AlessioGr opened this issue Dec 31, 2024 · 2 comments · Fixed by #11784
Closed

lexical: Can't backslash escape markdown characters #10289

AlessioGr opened this issue Dec 31, 2024 · 2 comments · Fixed by #11784
Labels
created-by: Payload team dependency-issue The issue is in a dependency of payload - not payload itself plugin: richtext-lexical @payloadcms/richtext-lexical

Comments

@AlessioGr
Copy link
Member

AlessioGr commented Dec 31, 2024

When escaping markdown characters, the resulting jsx displays the escape character and the markdown character, instead of just the markdown character.

Possibly relevant: facebook/lexical#2715

@AlessioGr AlessioGr added dependency-issue The issue is in a dependency of payload - not payload itself plugin: richtext-lexical @payloadcms/richtext-lexical status: needs-triage Possible bug which hasn't been reproduced yet status: verified If an issue has been reproduced validate-reproduction Auto-added tag on create to tell bot to check recreation URL, removed after check. labels Dec 31, 2024
@github-actions github-actions bot added created-by: Payload team and removed status: verified If an issue has been reproduced status: needs-triage Possible bug which hasn't been reproduced yet validate-reproduction Auto-added tag on create to tell bot to check recreation URL, removed after check. labels Dec 31, 2024
@payloadcms payloadcms deleted a comment from github-actions bot Dec 31, 2024
Copy link
Contributor

🚀 This is included in version v3.29.0

Copy link
Contributor

This issue has been automatically locked.
Please open a new issue if this issue persists with any additional detail.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 28, 2025
kendelljoseph pushed a commit that referenced this issue Mar 31, 2025
Fixes #10289 and
#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:
facebook/lexical#7353
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
created-by: Payload team dependency-issue The issue is in a dependency of payload - not payload itself plugin: richtext-lexical @payloadcms/richtext-lexical
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant