Feature/v2/add text (#4951)

Refactor sign to separate out add text and add image functions. 
Implement add text as standalone tool
This commit is contained in:
Reece Browne
2025-11-24 13:37:35 +00:00
committed by GitHub
parent e8e98128d2
commit 30bcc38c04
15 changed files with 780 additions and 326 deletions
+12
View File
@@ -0,0 +1,12 @@
import { createStampTool } from '@app/tools/stamp/createStampTool';
// AddText is text-only annotation (no drawing, no images, no save-to-library)
const AddText = createStampTool({
toolId: 'addText',
translationScope: 'addText',
allowedSignatureSources: ['text'],
defaultSignatureSource: 'text',
defaultSignatureType: 'text',
});
export default AddText;