Ckeditor
This plugin replaces the default Rich Text Editor with the one from CKEditor
Install / Use
/learn @GrapesJS/CkeditorREADME
GrapesJS CKEditor
This plugin replaces the default Rich Text Editor with the CKEditor
<p align="center"><img src="http://grapesjs.com/img/screen-ckeditor.jpg" alt="GrapesJS" align="center"/></p> <br/>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="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
Related Skills
node-connect
349.0kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
109.4kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
349.0kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
349.0kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
