5.0.2 • Published 6 years ago

@ragg/inline-attachment v5.0.2

Weekly downloads
1
License
MIT
Repository
github
Last release
6 years ago

Inline Attachment 5.0.2 Master Branch Build Status

Adds upload functionality to a textarea instance by either drag-dropping or pasting (only in chrome) an image inside it.

It's similar to pasting images in Github.

demo

Supported

  • Input and textarea
  • jQuery
  • CodeMirror 3
  • CodeMirror 4
  • Angular 1

Getting started

The latest versions are available here

NPM

The package can be installed using NPM

npm install @ragg/inline-attachment

Documentation

Documentation can be found on ReadTheDocs

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 gulp 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
npm build

This should build the project and the files will appear in the dist/ folder

Changelog

See Github releases

5.0.2

6 years ago

5.0.1

6 years ago

5.0.0-alpha.3

7 years ago

5.0.0-alpha.2

7 years ago

5.0.0-alpha.1

7 years ago

4.1.1

7 years ago

4.1.0

7 years ago

4.0.1

7 years ago

4.0.0

7 years ago

3.0.0

7 years ago