ckeditor5-custom-build-mathtype-imageresize
Version:
A custom CKEditor 5 build with Mathtype and imageresize plugin.
26 lines (20 loc) • 551 B
Markdown
`npm i ckeditor5-custom-build-mathtype-imageresize`
```javascript
import { CKEditor } from "@ckeditor/ckeditor5-react";
import ClassicEditor from "ckeditor5-custom-build-mathtype-imageresize";
const Editor = ({ onChange, value }) => {
return (
<CKEditor
editor={ClassicEditor}
data={value}
onChange={(event, editor) => {
const data = editor.getData();
onChange(data);
}}
/>
);
};
```