How do I set the absolute path for an image? I use image upload default ckeditor and IMCE module for drupal 8. But both of them return relative paths.

Output code actual relative path:

&lt;img src="/sites/default/files/Images/image1.jpg"&gt;


Output code expected absolute path:

&lt;img src="http://example.com/sites/default/files/Images/image1.jpg"&gt;


How to correct it?
IMCE has a checkbox setting to enable absolute paths in configuration page