Quotes for rich text editor

default discord avatar
6 months ago

HI!, I'm trying to build a quotes button for the rich text editor, but I want it to be editable, I mean, to click an edit button or something like that and have a modal open with the quoted text and other fields like author, how can I achieve this?

  • discord user avatar
    Payload Team
    6 months ago

    @lucas_c could you make a separate Quotes collection and add a relationship to it within your richText? Otherwise, I think a custom rich text element / component will be the way to go here.

  • default discord avatar
    6 months ago

    @lucas_c You might be able to take some hints from the markdown example

Open the post
Continue the discussion in Discord
Like what we're doing?
Star us on GitHub!


Connect with the Payload Community on Discord



Can't find what you're looking for?

Get help straight from the Payload team with an Enterprise License.