grapesjs-touch

WebJar for grapesjs-touch

License

License

BSD 3-Clause
Categories

Categories

JavaScript Languages
GroupId

GroupId

org.webjars.npm
ArtifactId

ArtifactId

grapesjs-touch
Last Version

Last Version

0.1.1
Release Date

Release Date

Type

Type

jar
Description

Description

grapesjs-touch
WebJar for grapesjs-touch
Project URL

Project URL

http://webjars.org
Source Code Management

Source Code Management

https://github.com/artf/grapesjs-touch

Download grapesjs-touch

How to add to project

<!-- https://jarcasting.com/artifacts/org.webjars.npm/grapesjs-touch/ -->
<dependency>
    <groupId>org.webjars.npm</groupId>
    <artifactId>grapesjs-touch</artifactId>
    <version>0.1.1</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.npm/grapesjs-touch/
implementation 'org.webjars.npm:grapesjs-touch:0.1.1'
// https://jarcasting.com/artifacts/org.webjars.npm/grapesjs-touch/
implementation ("org.webjars.npm:grapesjs-touch:0.1.1")
'org.webjars.npm:grapesjs-touch:jar:0.1.1'
<dependency org="org.webjars.npm" name="grapesjs-touch" rev="0.1.1">
  <artifact name="grapesjs-touch" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.npm', module='grapesjs-touch', version='0.1.1')
)
libraryDependencies += "org.webjars.npm" % "grapesjs-touch" % "0.1.1"
[org.webjars.npm/grapesjs-touch "0.1.1"]

Dependencies

There are no dependencies for this project. It is a standalone project that does not depend on any other jars.

Project Modules

There are no modules declared in this project.

GrapesJS Touch

This plugin enables touch support for the GrapesJS editor Demo

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

<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

import grapesjs from 'grapesjs';
import grapesjsTouch from 'grapesjs-touch';

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

Development

Clone the repository

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

Install dependencies

$ npm i

Start the dev server

$ npm start

License

BSD 3-Clause

Versions

Version
0.1.1