IME for Unity WebGL ( Support TextMesh Pro from Unity2018.2 )
http://kou-yeung.mygamesonline.org/WebGLInputSample/index.html
1.download WebGLSupport.unitypackage and import to project
2.add "WebGLInput" Component to InputField GameObject
3.build and run!!
no need to setting anything.