Answers for "image upload from link in ckeditor 5"

0

ckeditor with image upload

Inside the config.js of ckeditor add the following code 

CKEDITOR.editorConfig = function( config ) {
	..............
    ..............
    ..............
    
    config.filebrowserUploadMethod = 'form',
	config.filebrowserUploadUrl = '/api/v1/ckeditor/upload-image',
	config.image_previewText = CKEDITOR.tools.repeat(' ', 1);
    
    ..............
    ..............
    ..............
};

For more details :

https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_config.html#cfg-filebrowserUploadMethod
Posted by: Guest on November-20-2020
0

image upload from link in ckeditor 5

npm install --save @ckeditor/ckeditor5-upload
Posted by: Guest on July-03-2021

Browse Popular Code Answers by Language