Can you specify the scope of other Documents, because I don't want to have articles embedded in articles #1281
Answered
by
jmikrut
blueMountain007
asked this question in
Q&A
-
Can you specify the scope of other Documents, because I don't want to have articles embedded in articleshttps://payloadcms.com/docs/fields/rich-text#relationship-element |
Beta Was this translation helpful? Give feedback.
Answered by
jmikrut
Feb 3, 2023
Replies: 1 comment
-
Yes, you can use the 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. 👍 |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
jmikrut
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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. 👍