CKEditor 5 customize classic editor build
Thanks to CKEditor
The customize full features for classic editor build for CKEditor 5.
Documentation
See:
Quick start
First, install the build from npm:
npm install --save ckeditor5-build-full
And use it in your ReactJS application:
import React from 'react'
import { CKEditor } from '@ckeditor/ckeditor5-react'
import FullEditor from 'ckeditor5-build-full'
const index = () => {
return (
<CKEditor
editor={FullEditor}
onChange={(event, editor) => {
const data = editor.getData()
console.log({ event, editor, data })
}}
/>
)
}
export default index
Note: If you are planning to integrate CKEditor 5 deep into your application, it is actually more convenient and recommended to install and import the source modules directly (like it happens in ckeditor.js
). Read more in the Advanced setup guide.
License
Licensed under the terms of GNU General Public License Version 2 or later. For full details about the license, please check the LICENSE.md
file or https://ckeditor.com/legal/ckeditor-oss-license.