Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
sujata
/
advithconsulting.io-backend
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Registry
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Commit b0ccbe0f
authored
2024-11-18 16:01:28 +0530
by
sujata
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
ckeditor add dynamic zone
1 parent
b3af6ce1
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
36 additions
and
1 deletions
src/api/corpedia/content-types/corpedia/schema.json
src/components/dynamic-zone/details.json
types/generated/components.d.ts
types/generated/contentTypes.d.ts
src/api/corpedia/content-types/corpedia/schema.json
View file @
b0ccbe0
...
...
@@ -38,7 +38,8 @@
"dynamic-zone.background"
,
"dynamic-zone.about"
,
"dynamic-zone.keyfeature"
,
"dynamic-zone.table"
"dynamic-zone.table"
,
"dynamic-zone.details"
]
},
"slug"
:
{
...
...
src/components/dynamic-zone/details.json
0 → 100644
View file @
b0ccbe0
{
"collectionName"
:
"components_dynamic_zone_details"
,
"info"
:
{
"displayName"
:
"Details"
},
"options"
:
{},
"attributes"
:
{
"Details"
:
{
"type"
:
"customField"
,
"options"
:
{
"preset"
:
"default"
},
"customField"
:
"plugin::ckeditor5.CKEditor"
}
}
}
types/generated/components.d.ts
View file @
b0ccbe0
...
...
@@ -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
{
collectionName
:
'components_dynamic_zone_backgrounds'
;
info
:
{
...
...
@@ -621,6 +637,7 @@ declare module '@strapi/strapi' {
'dynamic-zone.element-two'
:
DynamicZoneElementTwo
;
'dynamic-zone.element-one'
:
DynamicZoneElementOne
;
'dynamic-zone.element-list'
:
DynamicZoneElementList
;
'dynamic-zone.details'
:
DynamicZoneDetails
;
'dynamic-zone.background'
:
DynamicZoneBackground
;
'dynamic-zone.about'
:
DynamicZoneAbout
;
'cta.cta'
:
CtaCta
;
...
...
types/generated/contentTypes.d.ts
View file @
b0ccbe0
...
...
@@ -980,6 +980,7 @@ export interface ApiCorpediaCorpedia extends Struct.CollectionTypeSchema {
'dynamic-zone.about'
,
'dynamic-zone.keyfeature'
,
'dynamic-zone.table'
,
'dynamic-zone.details'
,
]
>
;
slug
:
Schema
.
Attribute
.
UID
;
...
...
Write
Preview
Styling with
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment