xing/wysihtml5 — pull request #121 by davidpersson (2012-06-20 17:20:45+00:00)
Title: Use language of textarea element for speech recognition

A lang attribute - if present - on a textarea element will be reused
when generating the speech input element.

This ultimately allows switching speech recognition into the
correct language on a per editor/textarea basis.

Use case:

I've run into this issue when the language on the `body` element was set to `de` while I had two textareas on that same page for both German and English text input. The languages of the textareas are set to `de`and `en` respectively. However when moving into the English text input field speech recognition was still using German.