score:2

i don't use easy image plugin, because it's not free. i think your issue is that the code snippet you copied from their doc is not for react.

you may try this in your react code

    <div classname="app">
      <ckeditor 
        editor={classiceditor} 
        config={{
          extraplugins: [easyimage],
        }}
        //toolbar : [] // you may need to add 'uploadimage' toolbar
        data={text} onchange={(evt, editor) => {
        const data = editor.getdata();
        settext(data);
      }} />
    </div>

btw, i am the creator of https://www.npmjs.com/package/ckeditor5-build-classic-dna it's created on the top of ckeditor5-build-classic with some features, like upload image from local (you need to set up an image server though), add base64 image, insert an image by url, or add an image from unsplash, and other features.

check my demo page for more settings to use ckeditor 5 with react (code snippets provided.)

please let me know if you have any questions. i would be happy to help.


Related Query

More Query from same tag