CKEditor Image Upload Send It To The Server Code Example


Example: 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

Comments

Popular posts from this blog

Are Regular VACUUM ANALYZE Still Recommended Under 9.1?

Can Feynman Diagrams Be Used To Represent Any Perturbation Theory?