# tinymce-plugin-responsive-image

> A tinyMCE plugin for transforming width from px to percent

Latest version **1.0.0** (published 2017-08-28) · MIT license · 0 weekly downloads

## Install

```sh
npm install tinymce-plugin-responsive-image
pnpm add tinymce-plugin-responsive-image
yarn add tinymce-plugin-responsive-image
bun add tinymce-plugin-responsive-image
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2017-08-28 |
| First published | 2017-08-28 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 3 |
| Maintainers | ekoneko |

## Links

- npm: https://www.npmjs.com/package/tinymce-plugin-responsive-image
- Repository: https://github.com/ekoneko/tinymce-plugin-responsive-image
- Homepage: https://github.com/ekoneko/tinymce-plugin-responsive-image#readme
- Issues: https://github.com/ekoneko/tinymce-plugin-responsive-image/issues
- npm.io page: https://npm.io/package/tinymce-plugin-responsive-image

## Recent versions

- 1.0.0 (latest) — 2017-08-28

## README

# tinymce-plugin-responsive-image

A tinyMCE plugin for transforming &lt;img> width from px to percent.

Insert an image to tinyMCE and resize the img's size. It will save and support img's width attribute as percent format.

## install

```
npm install tinymce-plugin-responsive-image
```

## usage

### import

You can import the plugin easily as `commonjs` / `es6` modules. (with `tsc`, `webpack`, etc)

```
import 'tinymce-plugin-responsive-image'
require('tinymce-plugin-responsive-image')
```

Also, you can use some tools like `gulp` or `grunt` to copy `lib/index.js` to anywhere you can visit by browser.

Of course, you can `Ctrl + C` `Ctrl +V` by yourself.

### setup

````js
window.tinyMCE.init({
    plugins: ['responsiveImage', /* and other plugins */]
});
````

---
_Source: https://npm.io/package/tinymce-plugin-responsive-image · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
