-
Notifications
You must be signed in to change notification settings - Fork 456
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
fix(core): use MarkdownPlugin
instead of behaviors={[...]}
#8473
Conversation
PTE has a new concept of `@portabletext/editor/plugins` which, going forward, will be the preferred way to add additional Behaviors to the editor. The benefit is that you don't have to manually import and remember to spread the `coreBehaviors` when configuring the `initialConfig.behaviors` array.
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
No changes to documentation |
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.
Do we need to update the docs to reflect this change? This wasn't user configurable yet right?
It's purely internal for now so no need to update any docs. |
Component Testing Report Updated Feb 3, 2025 10:22 AM (UTC) ❌ Failed Tests (1) -- expand for details
|
⚡️ Editor Performance ReportUpdated Mon, 03 Feb 2025 10:23:46 GMT
Detailed information🏠 Reference resultThe performance result of
🧪 Experiment resultThe performance result of this branch
📚 Glossary
|
Hi @pedrobonamin . Any chance this can get merged? |
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.
Missed your previous comment, please go ahead 😄
Description
PTE has a new concept of
@portabletext/editor/plugins
which, going forward, will be the preferred way to add additional Behaviors to the editor. The benefit is that you don't have to manually import and remember to spread thecoreBehaviors
when configuring theinitialConfig.behaviors
array.What to review
Markdown Behaviors should still work, but feel free to take them for a spin to be sure.
Testing
n/a
Notes for release
n/a