docs: adds Link example in rich text

This commit is contained in:
James
2022-09-13 21:25:08 -07:00
parent bcfda707ff
commit f9b1b1fe7f

View File

@@ -174,6 +174,20 @@ const ExampleCollection: CollectionConfig = {
]
}
],
link: {
// Inject your own fields into the Link element
fields: [
{
name: 'rel',
label: 'Rel Attribute',
type: 'select',
hasMany: true,
options: [
'noopener', 'noreferrer', 'nofollow',
],
},
],
},
upload: {
collections: {
media: {