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

WebViewClient not work #72

Open
QuanKun8296 opened this issue Nov 15, 2019 · 5 comments
Open

WebViewClient not work #72

QuanKun8296 opened this issue Nov 15, 2019 · 5 comments

Comments

@QuanKun8296
Copy link

Hi!
I'm using MathView for show html mathml and an url, with WebView i can click to url but it not work when i set view is MathView.
Can you tell me how i can set webViewClient for catch event click url like WebView.
Best Regards!

@DrunkenElf
Copy link

Have you tried to override shouldInterceptRequest method?

@QuanKun8296
Copy link
Author

QuanKun8296 commented Nov 15, 2019

I tried and it's still not work. Are you made it work? Please give me example for this simple html
"<p>See more:<a href="https://vi.wikipedia.org/wiki/MathML">Click here</a></p>"

@DrunkenElf
Copy link

I think you will not be able to do it with this library, cuz it renders formulas with chunk and just load data(like simple string). That's why the method are called . You can try to inject mathjax script "

See more:Click here

".
This will also help you "

See more:Click here

".

@QuanKun8296
Copy link
Author

QuanKun8296 commented Nov 15, 2019

Thanks for your reply.
BTW, your code which inject mathjax script has been changed and i can't see the construction.

@DrunkenElf
Copy link

I'll try to send it to you, but now I don't have enough time for time

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

2 participants