feat: allow custom plugins for slate#702
feat: allow custom plugins for slate#702mcheng-caring wants to merge 2 commits intocontentful:masterfrom
Conversation
|
Hi mcheng-caring, thanks for the PR 👍 This approach seems fine to me, looks like you'll need to add JSYK, we're currently working on upgrading the rich text editor. When it's ready (should be sometime later this year), this will be a major version bump that will not break compatibility with the existing format, but this means you may need to rewrite any custom plugins built using this approach. |
|
Hey mcheng-caring, any update on this? I'm currently looking into a solution for code blocks for a blog and thinking around ways to do this, I created my own field that has a code editor but would be great to do it in the rich text editor directly, thanks |
Hi Jimmy Howe (@JimmyHowe), at my company, we've been using a fork with the code change from this PR for over a year now with success. I haven't had the time to loop back to this PR to check what tests were failing due to time constraints and because we deprioritize getting this PR through due to the news that rich text editor was supposed to have been updated (AFAIK, the update is still only present in the |
|
Marking pull request as stale since there was no acitivty for 30 days |
|
Marking pull request as stale since there was no activity for 30 days |
Description
Adds a
customPluginsprop to theRichTextEditorcomponent. This allows the user to override existing node renderers or and/or add their own node renderers used by Slate.