@iamandrewluca/ckeditor5-adapter-object-url

URL.createObjectURL adapter for CKEditor 5.

Usage no npm install needed!

<script type="module">
  import iamandrewlucaCkeditor5AdapterObjectUrl from 'https://cdn.skypack.dev/@iamandrewluca/ckeditor5-adapter-object-url';
</script>

README

URL.createObjectURL adapter for CKEditor 5

Join the chat at https://gitter.im/ckeditor/ckeditor5 npm version Build Status Coverage Status
Dependency Status devDependency Status

This package implements a CKEditor 5 upload adapter compatible with browser URL.createObjectURL.

Documentation

ClassicEditor
    .create( document.querySelector( '#editor' ), {
        extraPlugins: [ CreateObjectUrlUploadAdapter ],

        // ...
    } )
    .catch( error => {
        console.log( error );
    } );

Check out the {@link features/image-upload/image-upload comprehensive "Image upload overview"} to learn about other ways to upload images into CKEditor 5.

License

Licensed under the terms of GNU General Public License Version 2 or later. For full details about the license, please check the LICENSE.md file.