修复 镜头描述 角色转换

This commit is contained in:
北枳 2025-08-18 23:39:49 +08:00
parent 60217ffe96
commit b560f907b7
2 changed files with 3 additions and 1 deletions

View File

@ -256,7 +256,7 @@ export class TextToShotAdapter {
currentScript += node.text;
}
if (node.type === 'characterToken') {
currentScript = currentScript + node.attrs.name + ' ' + node.attrs.id;
currentScript = currentScript + node.attrs.name + ' [' + node.attrs.id + ']';
}
});
}

View File

@ -82,3 +82,5 @@ export const CharacterEditor = forwardRef<any, CharacterEditorProps>(({
</div>
);
});
CharacterEditor.displayName = 'CharacterEditor';