A new version is being developed in the dev-3.x branch
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.
The latest versions are available here
Bower
The package can be installed using Bower
bower install inline-attachment
Documentation can be found on ReadTheDocs
The Demo folder contains an example in PHP on how to handle uploads.
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
Go to the project folder and run the following:
npm install
grunt
This should build the project and the files will appear in the dist/
folder