2
0

🐛 (anthropic) Fix turn into other blocks

Closes #1356
This commit is contained in:
Baptiste Arnaud
2024-03-15 14:17:06 +01:00
parent cf739000b5
commit 1202f09802
7 changed files with 40 additions and 9 deletions

View File

@@ -185,8 +185,8 @@ export const BlockNode = ({
) => {
if (!('options' in block) || !block.options) return
const convertedBlockOptions = turnIntoParams.customMapping
? turnIntoParams.customMapping(block.options)
const convertedBlockOptions = turnIntoParams.transform
? turnIntoParams.transform(block.options)
: block.options
try {
updateBlock(