Skip to content

Conversation

@polypixeldev
Copy link
Member

Summary of the problem

We shouldn't have two different types for each block - changing all block types to be the class identifier is clearer.

Describe your changes

Changed the types used in the ProseMirror JSON to use Ruby class identifier strings, and added a job to migrate existing content over.

Warning

The job OneTimeJobs::MigrateBlockTypes should be run once this is deployed.

@polypixeldev polypixeldev requested review from a team as code owners July 21, 2025 19:47
Copy link
Member

@sampoder sampoder left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm! will run one time job when this deploys

@sampoder sampoder added this pull request to the merge queue Jul 26, 2025
@sampoder sampoder removed this pull request from the merge queue due to a manual request Jul 26, 2025
@sampoder sampoder merged commit 0e8dc55 into main Jul 26, 2025
12 checks passed
@sampoder sampoder deleted the polypixeldev/fix-block-types branch July 26, 2025 15:45
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.

3 participants