# grapesjs-touch

> GrapesJS touch support for mobile devices

Latest version **0.1.1** (published 2018-09-02) · BSD-3-Clause license · 0 weekly downloads

## Install

```sh
npm install grapesjs-touch
pnpm add grapesjs-touch
yarn add grapesjs-touch
bun add grapesjs-touch
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.1 |
| Published | 2018-09-02 |
| First published | 2018-08-30 |
| Weekly downloads | 0 |
| License | BSD-3-Clause |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 133.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 19 |
| Author | Artur Arseniev |
| Maintainers | artf |
| Keywords | grapesjs, plugin, mobile, touch |

## Links

- npm: https://www.npmjs.com/package/grapesjs-touch
- Repository: https://github.com/artf/grapesjs-touch
- Homepage: https://github.com/artf/grapesjs-touch#readme
- Issues: https://github.com/artf/grapesjs-touch/issues
- npm.io page: https://npm.io/package/grapesjs-touch

## Recent versions

- 0.1.1 (latest) — 2018-09-02
- 0.0.2 — 2018-08-30
- 0.0.1 — 2018-08-30

## README

# GrapesJS Touch

This plugin enables touch support for the GrapesJS editor

> Requires GrapesJS v0.14.29 or higher


## Summary

* Plugin name: `grapesjs-touch`





## Options

This plugin has no options





## Download

* CDN
  * `https://unpkg.com/grapesjs-touch`
* NPM
  * `npm i grapesjs-touch`
* GIT
  * `git clone https://github.com/artf/grapesjs-touch.git`





## Usage

Browser
```html
<link href="https://unpkg.com/grapesjs/dist/css/grapes.min.css" rel="stylesheet"/>
<script src="https://unpkg.com/grapesjs"></script>
<script src="path/to/grapesjs-touch.min.js"></script>

<div id="gjs"></div>

<script type="text/javascript">
  var editor = grapesjs.init({
      container : '#gjs',
      // ...
      plugins: ['grapesjs-touch']
  });
</script>
```

Modern javascript
```js
import grapesjs from 'grapesjs';
import grapesjsTouch from 'grapesjs-touch';

const editor = grapesjs.init({
  container : '#gjs',
  // ...
  plugins: [ grapesjsTouch ]
});
```






## Development

Clone the repository

```sh
$ git clone https://github.com/artf/grapesjs-touch.git
$ cd grapesjs-touch
```

Install dependencies

```sh
$ npm i
```

Start the dev server

```sh
$ npm start
```





## License

BSD 3-Clause

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