Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

After changing to compileSdkVersion 30, image not getting load in setHTML method #270

Open
jasminenitin27 opened this issue Nov 17, 2021 · 0 comments

Comments

@jasminenitin27
Copy link

jasminenitin27 commented Nov 17, 2021

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant