mirror of
https://github.com/arsvendg/Stirling-PDF.git
synced 2026-07-16 19:33:11 +02:00
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:
@@ -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;
|
||||
Reference in New Issue
Block a user