Can you specify the scope of other Documents, because I don't want to have articles embedded in articles

default discord avatar
zhounewz
11 months ago
1 1

Can you specify the scope of other Documents, because I don't want to have articles embedded in articles

image

image

https://payloadcms.com/docs/fields/rich-text#relationship-element

  • discord user avatar
    jmikrut
    Payload Team
    7 months ago

    Yes, you can use the admin.enableRichTextRelationship property. Set it to false for any collection you don't want to be able to link to.

    Right now, rich text uploads offer a bit more granularity here, as you can specifically whitelist collections to be able to select from on a field-by-field basis. But in the future we should be able to add more granularity to do this with rich text relationships too. 👍

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

Star

Connect with the Payload Community on Discord

Discord

online

Can't find what you're looking for?

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