Skip to content

Commit

Permalink
feat: add ImageCard to text-transform config (#927)
Browse files Browse the repository at this point in the history
  • Loading branch information
Lakate authored Apr 11, 2024
1 parent aebd55a commit 0232388
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/text-transform/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,16 @@ export const config: BlocksConfig = {
transformer: typografTransformer,
},
],
[SubBlockType.ImageCard]: [
{
fields: ['text', 'additionalInfo'],
transformer: yfmTransformer,
},
{
fields: ['title'],
transformer: typografTransformer,
},
],
[SubBlockType.LayoutItem]: [
{
fields: ['content'],
Expand Down

0 comments on commit 0232388

Please sign in to comment.