generated from autonomic-cooperative/astro-payload-template
This commit is contained in:
parent
4b30d58db6
commit
7dbc81c5b2
@ -71,7 +71,7 @@ const Posts: CollectionConfig = {
|
|||||||
name: "content",
|
name: "content",
|
||||||
type: "richText",
|
type: "richText",
|
||||||
admin: {
|
admin: {
|
||||||
elements: ["h2", "h3", "h4", "link", "ol", "ul", "upload"],
|
elements: ["h2", "h3", "h4", "link", "ol", "ul", "upload", "blockquote", "indent"],
|
||||||
leaves: ["bold", "italic", "underline"],
|
leaves: ["bold", "italic", "underline"],
|
||||||
upload: {
|
upload: {
|
||||||
collections: {
|
collections: {
|
||||||
@ -90,11 +90,10 @@ const Posts: CollectionConfig = {
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "authors",
|
name: "author",
|
||||||
//TODO: Add active user as default
|
//TODO: Add active user as default
|
||||||
type: 'relationship',
|
type: 'relationship',
|
||||||
relationTo: 'authors',
|
relationTo: 'authors',
|
||||||
hasMany: true,
|
|
||||||
admin: {
|
admin: {
|
||||||
position: "sidebar",
|
position: "sidebar",
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user