Skip to content

Commit

Permalink
fix: add form block textContent into transofmers config
Browse files Browse the repository at this point in the history
  • Loading branch information
qradle-yndx committed Jan 31, 2024
1 parent b2ecf4a commit 812c5cd
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/text-transform/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -380,4 +380,16 @@ export const config: BlocksConfig = {
parser: createItemsParser(['text']),
},
],
[BlockType.FormBlock]: [
{
fields: ['textContent'],
transformer: yfmTransformer,
parser: parseContentLayout,
},
{
fields: ['textContent'],
transformer: typografTransformer,
parser: parseContentLayoutTitle,
},
],
};

0 comments on commit 812c5cd

Please sign in to comment.