# InlineAttachment **Repository Path**: mirrors_casbin/InlineAttachment ## Basic Information - **Project Name**: InlineAttachment - **Description**: No description available - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-08-08 - **Last Updated**: 2026-07-18 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README A new version is being developed in the [dev-3.x](https://github.com/Rovak/InlineAttachment/pull/77) branch # Inline Attachment 2.0.3 [![Master Branch Build Status](https://api.travis-ci.org/Rovak/InlineAttachment.png?branch=master)](http://travis-ci.org/Rovak/InlineAttachment) Adds upload functionality to a textarea or CodeMirror instance by either drag-dropping or pasting (only in chrome) an image inside it. It's similar to pasting of images in Github. ![demo](https://f.cloud.github.com/assets/21/678/248aac6a-40a2-11e2-9a76-fd59ded28bbe.gif) ## Getting started The latest versions are available [here](https://github.com/Rovak/InlineAttachment/tree/master/dist) **Bower** The package can be installed using [Bower](http://bower.io/) ``` bower install inline-attachment ``` ## Documentation Documentation can be found on [ReadTheDocs](http://inlineattachment.readthedocs.org/en/latest/) ## Handling image uploads The Demo folder contains an example in PHP on how to handle uploads. ## Build To build the project you need node, npm and grunt installed. These tools can be installed on Ubuntu as follows: Follow the Node.js guide: [Node.js installation](https://github.com/joyent/node/wiki/Installing-Node.js-via-package-manager) Go to the project folder and run the following: ```sh npm install grunt ``` This should build the project and the files will appear in the `dist/` folder ## Changelog [See Github releases](https://github.com/Rovak/InlineAttachment/releases)