MCPcopy Index your code
hub / github.com/GrapesJS/ckeditor

github.com/GrapesJS/ckeditor @v1.0.1

Chat with this repo
repository ↗ · DeepWiki ↗ · release v1.0.1 ↗ · + Follow
11 symbols 21 edges 1 files 0 documented · 0% 4 cross-repo links
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

GrapesJS CKEditor

This plugin replaces the default Rich Text Editor with the CKEditor

Demo

GrapesJS

Summary

  • Plugin name: grapesjs-plugin-ckeditor

Options

Option Description Default
options CKEditor's configuration object, eg. { language: 'en', toolbar: [...], ...} {}
position Position side of the toolbar, options: left, center, right left
ckeditor Pass CKEDITOR constructor or the CDN string from which the CKEDITOR will be loaded. https://cdn.ckeditor.com/4.21.0/standard-all/ckeditor.js
customRte Extend the default customRTE interface. {}
onToolbar Customize 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="https://github.com/GrapesJS/ckeditor/raw/v1.0.1/path/to/grapes.min.css" rel="stylesheet"/>
<script src="https://github.com/GrapesJS/ckeditor/raw/v1.0.1/path/to/grapes.min.js"></script>
<script src="https://github.com/GrapesJS/ckeditor/raw/v1.0.1/path/to/grapesjs-plugin-ckeditor.min.js"></script>







<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

Core symbols most depended-on inside this repo

updateEditorToolbars
called by 3
src/index.ts
forEach
called by 2
src/index.ts
logCkError
called by 2
src/index.ts
focus
called by 2
src/index.ts
isString
called by 1
src/index.ts
loadFromCDN
called by 1
src/index.ts
stopPropagation
called by 0
src/index.ts
plugin
called by 0
src/index.ts

Shape

Function 11

Languages

TypeScript100%

Modules by API surface

src/index.ts11 symbols

For agents

$ claude mcp add ckeditor \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact