Skip to content
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

POC - Migrating to Plate #575

Open
wants to merge 53 commits into
base: main
Choose a base branch
from

Conversation

kudlajz
Copy link
Contributor

@kudlajz kudlajz commented Nov 13, 2024

This is the first part of the migration to Plate, replacing the main React component and all the code that depends on it with the Plate counterpart or Plate types.

For now, most of the existing plugins (extensions) have been left as-is so the PR doesn't become massive. This should also make sure that the editor behaviour stays the same.

One of the changes I've made has been to the plugins prop of the Editor component, which now accepts an array of PlatePlugin interface, allowing us to provide plugins from the outside, which is something we're planning to do eventually.

In the meantime, when this PR is in review and we can test the editor in Prezly, I'll work on refactoring the plugins to use Plate plugin approach and/or replacing them with existing Plate plugins to get rid of as much custom code as possible.

@kudlajz kudlajz self-assigned this Nov 13, 2024
@kudlajz kudlajz marked this pull request as draft November 13, 2024 19:10
@kudlajz kudlajz force-pushed the feature/dev-14744-explore-migrating-to-plate-editor branch from c150327 to b2d7993 Compare November 21, 2024 11:33
@kudlajz kudlajz requested a review from e1himself January 9, 2025 16:28
@kudlajz
Copy link
Contributor Author

kudlajz commented Jan 9, 2025

Addressed all the remarks and fixed the encountered bugs, so this is ready for a review again 🙂 @e1himself @yuriyyakym

@kudlajz kudlajz marked this pull request as ready for review January 9, 2025 16:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants