import React from 'react'; import { CKEditor } from '@ckeditor/ckeditor5-react'; import Editor from 'ckeditor5-custom-build/ckeditor'; import './dckeditor.scss' class DCKEditor extends React.Component{ constructor(props){ super(props); let editorConfig = { toolbar: ['fontfamily', 'fontsize', 'fontcolor', 'bold', 'italic', 'bulletedList', 'indent', 'outdent', 'numberedList', 'link', 'blockQuote', 'code', 'codeblock', 'imageinsert', 'mediaembed', 'undo', 'redo' ] }; this.state = { config: editorConfig } } render(){ return( <div className="CKEditor"> <div className='ckeditor'> <CKEditor editor={ Editor } config={ this.state.config } ...