edittextContent.setHTML() method not working for image selected from Gallery.
Example: In below html, image not getting loaded.
Hvhvuvyv<br><img src="content://com.android.providers.media.documents/document/image%3A12591" alt="dachshund" width="413" height="550"><br><br> <br><br>
But when same image is added through insertImage method it is showing,
edittextContent.insertImage("content://com.android.providers.media.documents/document/image%3A12591",
"dachshund", newWidth, newHeight);
It was working properly in compileSdkVersion 29, but in compileSdkVersion 30 not working.
edittextContent.setHTML() method not working for image selected from Gallery.
Example: In below html, image not getting loaded.
Hvhvuvyv<br><img src="content://com.android.providers.media.documents/document/image%3A12591" alt="dachshund" width="413" height="550"><br><br> <br><br>
But when same image is added through insertImage method it is showing, edittextContent.insertImage("content://com.android.providers.media.documents/document/image%3A12591", "dachshund", newWidth, newHeight);
It was working properly in compileSdkVersion 29, but in compileSdkVersion 30 not working.