Commit b0ccbe0f by sujata

ckeditor add dynamic zone

1 parent b3af6ce1
...@@ -38,7 +38,8 @@ ...@@ -38,7 +38,8 @@
"dynamic-zone.background", "dynamic-zone.background",
"dynamic-zone.about", "dynamic-zone.about",
"dynamic-zone.keyfeature", "dynamic-zone.keyfeature",
"dynamic-zone.table" "dynamic-zone.table",
"dynamic-zone.details"
] ]
}, },
"slug": { "slug": {
......
{
"collectionName": "components_dynamic_zone_details",
"info": {
"displayName": "Details"
},
"options": {},
"attributes": {
"Details": {
"type": "customField",
"options": {
"preset": "default"
},
"customField": "plugin::ckeditor5.CKEditor"
}
}
}
...@@ -531,6 +531,22 @@ export interface DynamicZoneElementList extends Struct.ComponentSchema { ...@@ -531,6 +531,22 @@ export interface DynamicZoneElementList extends Struct.ComponentSchema {
}; };
} }
export interface DynamicZoneDetails extends Struct.ComponentSchema {
collectionName: 'components_dynamic_zone_details';
info: {
displayName: 'Details';
};
attributes: {
Details: Schema.Attribute.RichText &
Schema.Attribute.CustomField<
'plugin::ckeditor5.CKEditor',
{
preset: 'default';
}
>;
};
}
export interface DynamicZoneBackground extends Struct.ComponentSchema { export interface DynamicZoneBackground extends Struct.ComponentSchema {
collectionName: 'components_dynamic_zone_backgrounds'; collectionName: 'components_dynamic_zone_backgrounds';
info: { info: {
...@@ -621,6 +637,7 @@ declare module '@strapi/strapi' { ...@@ -621,6 +637,7 @@ declare module '@strapi/strapi' {
'dynamic-zone.element-two': DynamicZoneElementTwo; 'dynamic-zone.element-two': DynamicZoneElementTwo;
'dynamic-zone.element-one': DynamicZoneElementOne; 'dynamic-zone.element-one': DynamicZoneElementOne;
'dynamic-zone.element-list': DynamicZoneElementList; 'dynamic-zone.element-list': DynamicZoneElementList;
'dynamic-zone.details': DynamicZoneDetails;
'dynamic-zone.background': DynamicZoneBackground; 'dynamic-zone.background': DynamicZoneBackground;
'dynamic-zone.about': DynamicZoneAbout; 'dynamic-zone.about': DynamicZoneAbout;
'cta.cta': CtaCta; 'cta.cta': CtaCta;
......
...@@ -980,6 +980,7 @@ export interface ApiCorpediaCorpedia extends Struct.CollectionTypeSchema { ...@@ -980,6 +980,7 @@ export interface ApiCorpediaCorpedia extends Struct.CollectionTypeSchema {
'dynamic-zone.about', 'dynamic-zone.about',
'dynamic-zone.keyfeature', 'dynamic-zone.keyfeature',
'dynamic-zone.table', 'dynamic-zone.table',
'dynamic-zone.details',
] ]
>; >;
slug: Schema.Attribute.UID; slug: Schema.Attribute.UID;
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!