1.0.1 • Published 2 years ago

grapesjs-vietsub v1.0.1

Weekly downloads
-
License
BSD-3-Clause
Repository
github
Last release
2 years ago

GrapesJS Vietsub

Table of contents

Features

BlocksStyle ManagerLayer Manager
Code ViewerAsset Manager
  • Local and remote storage

  • Default built-in commands (basically for creating and managing different components)

Download

  • NPM
    • npm i grapesjs-vietsub
  • YARN
    • yarn add grapesjs-vietsub

For the development purpose you should follow instructions below.

Usage

<link rel="stylesheet" href="path/to/grapes.min.css">
<script src="path/to/grapes.min.js"></script>

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

<script type="text/javascript">
  var editor = grapesjs.init({
      container : '#gjs',
      components: '<div class="txt-red">Hello world!</div>',
      style: '.txt-red{color: red}',
  });
</script>

For a more practical example I'd suggest looking up the code inside this demo: http://grapesjs.com/demo.html

Documentation

Check the getting started guide here: Documentation

API

API References could be found here: API-Reference

Plugins

Extensions

Presets

Find out more about plugins here: Creating plugins