Android WebView Javascript getSelection

前端 未结 3 1747
后悔当初
后悔当初 2020-12-05 05:07

I am having some trouble getting the selection from a WebView in Android.

I can get the WebView to go into selection mode. I can even get it to copy the text to the

3条回答
  •  抹茶落季
    2020-12-05 05:37

    You should try rangy - A cross-browser JavaScript range and selection library.

提交回复
热议问题