Welcome Guest, Not a member yet? Register   Sign In
CKeditor 5 SimpleUploadAdapter howto?
#1

(This post was last modified: 03-19-2022, 03:36 AM by spreaderman.)

I am trying to integrate CKeditor 5's SimpleUploadAdapter.  The plugin and config are ok, however, I am unsure how to possibly write the method to upload the image.  If I understand the plugin, I must right an uploadStuff to upload the file, for example, an image as explained here.  I wonder if someone might be able to explain how I might accomplish this.  I have search the internet for example, even in PHP, but cannot find one.  Any help appreciated.


Code:
    ClassicEditor
    .create( document.querySelector( '#post_body' ), {
        simpleUpload: {
          uploadUrl: 'https://development.example.com/uploadStuff',
        }
    } )
    .then( )
            .catch( error => {
            console.error( error );
    } );
Reply
#2

I might have a look at this later if I got time.
Practical guide to IgnitedCMS - Book coming soon, www.ignitedcms.com
Reply
#3

(03-19-2022, 04:25 AM)ignitedcms Wrote: I might have a look at this later if I got time.

Would be appreciated.
Reply




Theme © iAndrew 2016 - Forum software by © MyBB