aharen / thaana-keyboard

Thaana keyboard replaces latin text to thaana (dhivehi) unicode characters using JavaScript
https://thaana-keyboard.khusaam.com/
24 stars 5 forks source link

Fix highlighted text editing #9

Closed anishsaud closed 2 years ago

anishsaud commented 2 years ago

Problem: Highlighted text segment does not get removed with new input Fix: Listen to the selection change event to get highlighted text. Remove the selected text upon receiving new input, mimicking the standard text editor behaviour.

aharen commented 2 years ago

Thank you kind sir 🙏🏽