grapesjs-plugin-ckeditor

WebJar for grapesjs-plugin-ckeditor

License

License

BSD 3-Clause
Categories

Categories

JavaScript Languages
GroupId

GroupId

org.webjars.npm
ArtifactId

ArtifactId

grapesjs-plugin-ckeditor
Last Version

Last Version

0.0.9
Release Date

Release Date

Type

Type

jar
Description

Description

grapesjs-plugin-ckeditor
WebJar for grapesjs-plugin-ckeditor
Project URL

Project URL

http://webjars.org
Source Code Management

Source Code Management

https://github.com/artf/grapesjs-plugin-ckeditor

Download grapesjs-plugin-ckeditor

How to add to project

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

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 CKEditor

This plugin replaces the default Rich Text Editor with the one from CKEditor

GrapesJS


Summary

  • Plugin
    • Name: gjs-plugin-ckeditor
    • Options:
      • options CKEditor's configuration object, eg. { language: 'en', toolbar: [...], ...}
      • position Position side of the toolbar, default: left, options: left|center|right

Download

Usage

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

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

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

Development

Clone the repository

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

Install dependencies

$ npm i

The plugin relies on GrapesJS and CKEditor via peerDependencies so you have to install them manually

$ npm i grapesjs ckeditor --no-save

Start the dev server

$ npm start

License

BSD 3-Clause

Versions

Version
0.0.9