- Rich text editor
- Preview editor content
- Upload images/file as Base64
- Preview image
- Parse HTML into react app
next
@ckeditor/ckeditor5-react
styled-components
@styled-jsx/plugin-sass
html-react-parser
react-hook-form
-
Customize and build your CKEditor 5 here
-
Download .zip
-
Install
yarn
# or
npm install
- Build it (For me, I rename folder build as "custom-build-ckeditor")
yarn build
# or
npm run build
-
Copy build folder to your source
-
Import
With NEXTJS as:
import dynamic from 'next/dynamic'
const EditorCustom = dynamic(() => import('./ckeditor5'), {
ssr: false,
})
- Use in your component
<EditorCustom/>
- Update toolbar
config={{
placeholder: '.',
removePlugins: ['Markdown'],
toolbar: fatherToolbar,
image: imageToolbar,
table: tableToolbar,
}}
Config values is in config.js
I think you should to make your own a cup of coffee. Because of in the first time start your source, which is include custom-editor. You will be waiting for longggggggg time.
Here is my repo