Socket
Book a DemoInstallSign in
Socket

grapesjs-plugin-ckeditor

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

grapesjs-plugin-ckeditor

Replace the built-in RTE with CKEditor

1.0.1
latest
Source
npmnpm
Version published
Weekly downloads
5.1K
1.79%
Maintainers
1
Weekly downloads
 
Created
Source

GrapesJS CKEditor

This plugin replaces the default Rich Text Editor with the CKEditor

Demo

GrapesJS


Summary

  • Plugin name: grapesjs-plugin-ckeditor

Options

OptionDescriptionDefault
optionsCKEditor's configuration object, eg. { language: 'en', toolbar: [...], ...}{}
positionPosition side of the toolbar, options: left, center, rightleft
ckeditorPass CKEDITOR constructor or the CDN string from which the CKEDITOR will be loaded.https://cdn.ckeditor.com/4.21.0/standard-all/ckeditor.js
customRteExtend the default customRTE interface.{}
onToolbarCustomize CKEditor toolbar element once created, eg. onToolbar: (el) => { el.style.minWidth = '350px' }``

Download

  • CDN
    • https://unpkg.com/grapesjs-plugin-ckeditor
  • NPM
    • npm i grapesjs-plugin-ckeditor
  • GIT
    • git clone https://github.com/GrapesJS/ckeditor.git

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: ['grapesjs-plugin-ckeditor'],
      pluginsOpts: {
        'grapesjs-plugin-ckeditor': {/* ...options */}
      }
  });
</script>

Development

Clone the repository

$ git clone https://github.com/GrapesJS/ckeditor.git
$ cd ckeditor

Install dependencies

$ npm i

Start the dev server

$ npm start

License

BSD 3-Clause

Keywords

grapesjs

FAQs

Package last updated on 06 Jun 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.