mirror of
https://github.com/discourse/discourse.git
synced 2025-01-16 14:02:50 +08:00
b4f0a8748d
With the previous logic, autocompletes were being opened mid-word, which was annoying and didn't properly work – selecting an option would generate an invalid format, mixing existing with new. This PR makes a simple change: only ever trigger an autocomplete on word ends, and close them when arrow-navigating out of the word-end boundary. ref /t/-/143169 |
||
---|---|---|
.. | ||
images | ||
javascripts | ||
stylesheets |