title: keditor convert blob generated image URL to base64
body: <p>I'm using keditor for my document. My problem here is that the images are generated as blob and I have no way of knowing where they are being stored thus when converting the file to another format the images are lost.</p>
  
  <p>Sample image tag with blob:</p>
  
  <pre><code>&lt;img src="blob:http://localhost/7b0e82ab-445b-4866-b8b5-09b4881a0544" width="100%" height="" style="display: inline-block;"&gt;
  </code></pre>
  
  <p>I was hoping I can find a way to convert this to blob either using PHP or JS.</p>
  
  <p>I also found this post but no solution was provided:</p>
  
  <p><a href="https://stackoverflow.com/questions/39204246/js-convert-blob-url-to-base64-file">JS convert blob url to Base64 file</a></p>