Я работаю над редактором в браузере в textarea
. Я начал искать некоторую информацию о работе с выбором textarea
и нашел этот плагин jQuery, fieldSelection, который выполняет некоторые простые манипуляции.
Тем не менее, это не объясняет, что происходит.
Я хочу больше узнать о выборе текстовой области в JavaScript, желательно с описанием сценариев до DOM3 и после DOM30.