There is a nasty bug in contentEditable div example, when selecting option from a list, when first option in the list is selected and you press UP key, or when you are selecting last option in the list and press DOWN key.
The whole content of the div is rearranged, text scraped, all previous @mentions lost etc..
It works fine with textarea, bug is only there in contentEditable div. Tested in Chrome and Firefox.
There is a nasty bug in contentEditable div example, when selecting option from a list, when first option in the list is selected and you press UP key, or when you are selecting last option in the list and press DOWN key. The whole content of the div is rearranged, text scraped, all previous @mentions lost etc.. It works fine with textarea, bug is only there in contentEditable div. Tested in Chrome and Firefox.