diff --git a/app/service/adapter/textToShot.ts b/app/service/adapter/textToShot.ts index cc466a3..6315f72 100644 --- a/app/service/adapter/textToShot.ts +++ b/app/service/adapter/textToShot.ts @@ -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 + ']'; } }); } diff --git a/components/ui/character-editor.tsx b/components/ui/character-editor.tsx index 58689af..01b8fa9 100644 --- a/components/ui/character-editor.tsx +++ b/components/ui/character-editor.tsx @@ -82,3 +82,5 @@ export const CharacterEditor = forwardRef(({ ); }); + +CharacterEditor.displayName = 'CharacterEditor';