Customize the rich-text
toolbar
#3140
Replies: 6 comments 15 replies
-
I think it would be rad if the full plate object were exposed in addition/instead, so we could change the full config. While the above would be handy & simple, I could do similar with the plate object I think, and it would allow me to do things like add more plate plugins (to process input, etc.) {
type: 'rich-text',
name: 'body',
ui: {
plateConfig: (plate) => {
// do anything
return plate
}
}
} maybe run this after tina configures it, so the config can be modified? |
Beta Was this translation helpful? Give feedback.
-
I'll also add #3058 has some thoughts dealing with inline elements. As mentioned in that issue, adding marks gets gnarly because it also affects serialization to the underlying MDX format, so if you're going to allow users to customize the marks, they also need to hook into that step as well. |
Beta Was this translation helpful? Give feedback.
-
How do the buttons on the bar work now? Are the existing buttons basically 'built in' embeds? |
Beta Was this translation helpful? Give feedback.
-
I would absolutely love this feature to be added. Quite frankly, I just asked a question about this in Discord, only to find the discussion happening here. |
Beta Was this translation helpful? Give feedback.
-
Any update here? Three of the most basic use cases I can think of are footnotes, strike through and highlighting (e.g. |
Beta Was this translation helpful? Give feedback.
-
Hey now that we've got some fresh updates going on here, it would be really great to have custom buttons like superscript, subscript, footnotes... etc. |
Beta Was this translation helpful? Give feedback.
-
We've had a lot of requests to customize the toolbar for the
rich-text
editor. This would be a good place to voice your opinion on what you might like to customize and perhaps how you'd like the API to look. In general, it'll probably need to be something you define on arich-text
field, but we don't have specific plans for anything yet. Some common requests:At a basic level, the API could be pretty simple, just provide a callback function for the items, but curious to get more use-cases to inform this API a bit.
Beta Was this translation helpful? Give feedback.
All reactions