Create a function to enable the keyboard on a specific input, instead of enabling on ALL of them
- move the bootstrap code from
src/main.js
in a function (in the loopfor (const input of inputFields)
: this becomesenableVirtualKeyboard(html_element)
- use that new method in
demo/index.html
:
<script type="text/javascript">
enableVirtualKeyboard(theInput);
enableVirtualKeyboard(theTextArea);
</script>
- Add a small bootstrap for the web-extension to still enable the keyboard on ALL input/textarea