A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/GrapesJS/touch below:

GrapesJS/touch: Enable touch support in GrapesJS

This plugin enables touch support for the GrapesJS editor Demo

Requires GrapesJS v0.14.29 or higher

This plugin has no options

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 ]
});

Clone the repository

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

Install dependencies

Start the dev server

BSD 3-Clause


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4