Skip to content

Conversation

@davisagli
Copy link
Member

@davisagli davisagli commented Jun 25, 2025

This updates the blocks that use DraftJS to use Slate instead, and there's a first pass at a migration script.

The script is basically working but there are some known issues:

  • The script does not try to keep inline styles like bold/italic
  • Some DraftJS values contain buttons, and we don't have a similar style for Slate (currently it just converts it to a link)

@davisagli davisagli force-pushed the blocks-cleanup-draft branch from 624f66e to f6016a8 Compare June 25, 2025 19:49
Base automatically changed from blocks-cleanup to main June 25, 2025 22:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants