-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
bold/italic shortcuts still work even if their features are not included #8811
Comments
🚀 This is included in version v3.2.0 |
This issue has been automatically locked. |
kendelljoseph
pushed a commit
that referenced
this issue
Feb 21, 2025
…e not enabled (#9507) Fixes #8811 Before this PR, even if you did not include text formatting features (such as BoldFeature, ItalicFeature, etc), it was possible to apply that formatting by (a) pasting content from the clipboard and (b) using keyboard shortcuts. This PR fixes that by requiring the formatting features to be registered so that they can be inserted in the editor.
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Describe the Bug
One user reported: "We have noticed that the bold/italic shortcuts still work in the Lexical editor even if the BoldFeature/ItalicFeature are not included."
Until we fix this, you can temporarily use this workaround in your code.
Link to the code that reproduces this issue
https://github.com/payloadcms/payload
Reproduction Steps
Bold Feature/Italic Feature
in any test suite inside folder folder.pnpm dev [folder]
Which area(s) are affected? (Select all that apply)
plugin: richtext-lexical
Environment Info
Payload: beta.112
The text was updated successfully, but these errors were encountered: