-
Notifications
You must be signed in to change notification settings - Fork 1
@/RoboShield: Migrate rich text editor from Slate to Lexical #1122
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
base: main
Are you sure you want to change the base?
Conversation
ef41564
to
bd69b30
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍🏽
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@m453h this looks good, I have tested locally. Something small I noticed on Hero description, every text is bold meaning any bold styling doesn't get applied to the output.
@koechkevin , this was deliberately implemented to use a fixed font variant i.e. |
Description
This PR migrates the Rich Text editor from Slate to Lexical used in Payload. While both Slate and Lexical save the editor state in JSON, the structure of the JSON is different, thus requiring a migration to convert all previously saved Rich Text content to the new format.
Fixes #1120
Type of change
Please delete options that are not relevant.
Screenshots
Checklist: