UNPKG

editorjs-signature-tool

Version:

A custom signature tool for Editor.js

22 lines (15 loc) 1.17 kB
# SignatureTool for Editor.js **SignatureTool** is a custom tool for **Editor.js** that allows users to draw and insert digital signatures directly within the editor. This tool is ideal for applications where capturing a digital signature is required, such as contracts, forms, or agreements. ## Features - **Signature Drawing**: Allows users to draw their signatures in an interactive signature pad. - **Image Preview**: Displays the signature as an image within the editor, allowing users to view or edit it at any time. - **Editable Mode**: Users can draw and modify the signature whenever needed. - **Popup Interface**: The signature pad is opened in a clean, centered popup interface to provide a smooth user experience. - **Easy Integration**: Seamlessly integrates with **Editor.js** with minimal configuration. ## Installation To use **SignatureTool** with your Editor.js instance, follow these steps: 1. Clone or download the repository. 2. Add the `SignatureTool.js` file to your project. 3. Import the tool into your project and configure Editor.js to use it. ```bash git clone https://github.com/zaasfand/editorjs-signature-tool.git