You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to develop a custom plugin that I need to customize the actions the user needs to do in a rich text, basically, the user can select a text block, clicks on a button, and modifies the original content when user clicks the button - I see that the rich text editor doesn't have any option to do so.
There is any way to fork a native implementation of the rich text component and implement those changes on my own?
Thanks,
The text was updated successfully, but these errors were encountered:
This is an old issue, but thought I'd offer a thought I had on this today.
The Rich Text Editor is using Plate under the hood, and a list of plate plugins set here.
If the <RichTextEditor /> component that is exported took an optional list of "additional" Plate Plugins, then you could have a bit more extensibility for custom behavior in the Rich Text Editor. For example, to build custom Apps in the Contentful Field Editor UI that extends the base functionality.
I suspect that the difficult with exposing more of Plate to the end user, is ultimately you've got to maintain the same schema that the Rich Text Editor is used to consuming and storing. I don't know how much Plate JS and Contentful's Rich Document schema overlap and how much transforming is being done.
All those Rich Text Documents you get from Contentful have a data prop, but outside of hyperlinks I have never seen any data in it. I was looking to make a Plate plugin that could ultimately inject into that data space to help me pick my rendering components on the client.
Hello,
I am trying to develop a custom plugin that I need to customize the actions the user needs to do in a rich text, basically, the user can select a text block, clicks on a button, and modifies the original content when user clicks the button - I see that the rich text editor doesn't have any option to do so.
There is any way to fork a native implementation of the rich text component and implement those changes on my own?
Thanks,
The text was updated successfully, but these errors were encountered: