grapesjs-plugin-ckeditor

WebJar for grapesjs-plugin-ckeditor

Лицензия

Лицензия

BSD 3-Clause
Категории

Категории

JavaScript Языки программирования
Группа

Группа

org.webjars.npm
Идентификатор

Идентификатор

grapesjs-plugin-ckeditor
Последняя версия

Последняя версия

0.0.9
Дата

Дата

Тип

Тип

jar
Описание

Описание

grapesjs-plugin-ckeditor
WebJar for grapesjs-plugin-ckeditor
Ссылка на сайт

Ссылка на сайт

http://webjars.org
Система контроля версий

Система контроля версий

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

Скачать grapesjs-plugin-ckeditor

Как подключить последнюю версию

<!-- 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"]

Зависимости

Библиотека не имеет зависимостей. Это самодостаточное приложение, которое не зависит ни от каких других библиотек.

Модули Проекта

Данный проект не имеет модулей.

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

Версии библиотеки

Версия
0.0.9