I am using Rich Text Editor & uploading my image from local but when show his source code image path is start with blob: how can i remove blob: and print normally my image.

1 Answers

0
Br0wn On
var reader = new FileReader();
 reader.readAsDataURL(blob); 
 reader.onloadend = function() {
     base64data = reader.result;                
     console.log(base64data);
 }