Commit b750c105 by sujata

add ckeditior in left and right side componet

1 parent c67d43aa
......@@ -27,6 +27,13 @@
"type": "component",
"repeatable": false,
"component": "cta.cta"
},
"Content": {
"type": "customField",
"options": {
"preset": "default"
},
"customField": "plugin::ckeditor5.CKEditor"
}
}
}
......@@ -27,6 +27,13 @@
},
"Subtitle": {
"type": "string"
},
"Content": {
"type": "customField",
"options": {
"preset": "default"
},
"customField": "plugin::ckeditor5.CKEditor"
}
}
}
import type { Struct, Schema } from '@strapi/strapi';
export interface PeopleTeamMember extends Struct.ComponentSchema {
collectionName: 'components_people_team_members';
info: {
displayName: 'TeamMember';
description: '';
};
attributes: {
Name: Schema.Attribute.String & Schema.Attribute.Required;
Linkdin: Schema.Attribute.String & Schema.Attribute.Required;
Image: Schema.Attribute.Media<'images'> & Schema.Attribute.Required;
Designation: Schema.Attribute.String & Schema.Attribute.Required;
};
}
export interface PeopleTeamLeads extends Struct.ComponentSchema {
collectionName: 'components_people_team_leads';
info: {
displayName: 'Team Leads';
};
attributes: {
Name: Schema.Attribute.String & Schema.Attribute.Required;
Designation: Schema.Attribute.String & Schema.Attribute.Required;
Image: Schema.Attribute.Media<'images'> & Schema.Attribute.Required;
Linkdin: Schema.Attribute.String & Schema.Attribute.Required;
};
}
export interface PeoplePeopleList extends Struct.ComponentSchema {
collectionName: 'components_people_people_lists';
info: {
displayName: 'people-list';
description: '';
};
attributes: {
heading: Schema.Attribute.String;
description: Schema.Attribute.String;
};
}
export interface PeopleOverview extends Struct.ComponentSchema {
collectionName: 'components_people_overviews';
info: {
displayName: 'Overview';
description: '';
};
attributes: {
Subtitle: Schema.Attribute.String;
Title: Schema.Attribute.String & Schema.Attribute.Required;
Image: Schema.Attribute.Media<'images'>;
Description: Schema.Attribute.Text;
};
}
export interface PeopleAdvisoryBoard extends Struct.ComponentSchema {
collectionName: 'components_people_advisory_boards';
info: {
displayName: 'Advisory Board';
};
attributes: {
Name: Schema.Attribute.String & Schema.Attribute.Required;
Description: Schema.Attribute.String & Schema.Attribute.Required;
Image: Schema.Attribute.Media<'images'>;
};
}
export interface SharedSlider extends Struct.ComponentSchema {
collectionName: 'components_shared_sliders';
info: {
......@@ -175,6 +110,71 @@ export interface SharedMedia extends Struct.ComponentSchema {
};
}
export interface PeopleTeamMember extends Struct.ComponentSchema {
collectionName: 'components_people_team_members';
info: {
displayName: 'TeamMember';
description: '';
};
attributes: {
Name: Schema.Attribute.String & Schema.Attribute.Required;
Linkdin: Schema.Attribute.String & Schema.Attribute.Required;
Image: Schema.Attribute.Media<'images'> & Schema.Attribute.Required;
Designation: Schema.Attribute.String & Schema.Attribute.Required;
};
}
export interface PeopleTeamLeads extends Struct.ComponentSchema {
collectionName: 'components_people_team_leads';
info: {
displayName: 'Team Leads';
};
attributes: {
Name: Schema.Attribute.String & Schema.Attribute.Required;
Designation: Schema.Attribute.String & Schema.Attribute.Required;
Image: Schema.Attribute.Media<'images'> & Schema.Attribute.Required;
Linkdin: Schema.Attribute.String & Schema.Attribute.Required;
};
}
export interface PeoplePeopleList extends Struct.ComponentSchema {
collectionName: 'components_people_people_lists';
info: {
displayName: 'people-list';
description: '';
};
attributes: {
heading: Schema.Attribute.String;
description: Schema.Attribute.String;
};
}
export interface PeopleOverview extends Struct.ComponentSchema {
collectionName: 'components_people_overviews';
info: {
displayName: 'Overview';
description: '';
};
attributes: {
Subtitle: Schema.Attribute.String;
Title: Schema.Attribute.String & Schema.Attribute.Required;
Image: Schema.Attribute.Media<'images'>;
Description: Schema.Attribute.Text;
};
}
export interface PeopleAdvisoryBoard extends Struct.ComponentSchema {
collectionName: 'components_people_advisory_boards';
info: {
displayName: 'Advisory Board';
};
attributes: {
Name: Schema.Attribute.String & Schema.Attribute.Required;
Description: Schema.Attribute.String & Schema.Attribute.Required;
Image: Schema.Attribute.Media<'images'>;
};
}
export interface LayoutWhatwedo extends Struct.ComponentSchema {
collectionName: 'components_layout_whatwedos';
info: {
......@@ -417,23 +417,6 @@ export interface HomeHome extends Struct.ComponentSchema {
};
}
export interface CtaCta extends Struct.ComponentSchema {
collectionName: 'components_cta_ctas';
info: {
displayName: 'CTA';
};
attributes: {
text: Schema.Attribute.String &
Schema.Attribute.Required &
Schema.Attribute.DefaultTo<'text'>;
URL: Schema.Attribute.String;
target: Schema.Attribute.Enumeration<
['_blank', '_parent', '_self', '_top']
>;
varient: Schema.Attribute.Enumeration<['outline', 'fill']>;
};
}
export interface DynamicZoneTable extends Struct.ComponentSchema {
collectionName: 'components_dynamic_zone_tables';
info: {
......@@ -578,6 +561,13 @@ export interface DynamicZoneBackground extends Struct.ComponentSchema {
Image: Schema.Attribute.Media<'images'>;
CTA: Schema.Attribute.Component<'cta.cta', false>;
Subtitle: Schema.Attribute.String;
Content: Schema.Attribute.RichText &
Schema.Attribute.CustomField<
'plugin::ckeditor5.CKEditor',
{
preset: 'default';
}
>;
};
}
......@@ -593,17 +583,36 @@ export interface DynamicZoneAbout extends Struct.ComponentSchema {
Description: Schema.Attribute.Text;
Image: Schema.Attribute.Media<'images'>;
CTA: Schema.Attribute.Component<'cta.cta', false>;
Content: Schema.Attribute.RichText &
Schema.Attribute.CustomField<
'plugin::ckeditor5.CKEditor',
{
preset: 'default';
}
>;
};
}
export interface CtaCta extends Struct.ComponentSchema {
collectionName: 'components_cta_ctas';
info: {
displayName: 'CTA';
};
attributes: {
text: Schema.Attribute.String &
Schema.Attribute.Required &
Schema.Attribute.DefaultTo<'text'>;
URL: Schema.Attribute.String;
target: Schema.Attribute.Enumeration<
['_blank', '_parent', '_self', '_top']
>;
varient: Schema.Attribute.Enumeration<['outline', 'fill']>;
};
}
declare module '@strapi/strapi' {
export module Public {
export interface ComponentSchemas {
'people.team-member': PeopleTeamMember;
'people.team-leads': PeopleTeamLeads;
'people.people-list': PeoplePeopleList;
'people.overview': PeopleOverview;
'people.advisory-board': PeopleAdvisoryBoard;
'shared.slider': SharedSlider;
'shared.seo': SharedSeo;
'shared.rich-text': SharedRichText;
......@@ -611,6 +620,11 @@ declare module '@strapi/strapi' {
'shared.page-schema': SharedPageSchema;
'shared.meta-social': SharedMetaSocial;
'shared.media': SharedMedia;
'people.team-member': PeopleTeamMember;
'people.team-leads': PeopleTeamLeads;
'people.people-list': PeoplePeopleList;
'people.overview': PeopleOverview;
'people.advisory-board': PeopleAdvisoryBoard;
'layout.whatwedo': LayoutWhatwedo;
'layout.technicalexpertise': LayoutTechnicalexpertise;
'layout.technicalexp-tab': LayoutTechnicalexpTab;
......@@ -630,7 +644,6 @@ declare module '@strapi/strapi' {
'home.knowledgeshack': HomeKnowledgeshack;
'home.industry': HomeIndustry;
'home.home': HomeHome;
'cta.cta': CtaCta;
'dynamic-zone.table': DynamicZoneTable;
'dynamic-zone.rules-list': DynamicZoneRulesList;
'dynamic-zone.rules-application': DynamicZoneRulesApplication;
......@@ -643,6 +656,7 @@ declare module '@strapi/strapi' {
'dynamic-zone.details': DynamicZoneDetails;
'dynamic-zone.background': DynamicZoneBackground;
'dynamic-zone.about': DynamicZoneAbout;
'cta.cta': CtaCta;
}
}
}
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!