diff options
| author | Shulhan <ms@kilabit.info> | 2021-08-28 22:28:01 +0700 |
|---|---|---|
| committer | Shulhan <ms@kilabit.info> | 2021-08-28 22:29:37 +0700 |
| commit | 51e7db8b61ec21628fc0ed2f5f48bfff47962684 (patch) | |
| tree | badf3236a140f228fbdbf2315c65e3b7c2f51e99 /editor/example.html | |
| parent | c246299101e47c28e064dbeacdbe718909bd7f17 (diff) | |
| download | pakakeh.ts-51e7db8b61ec21628fc0ed2f5f48bfff47962684.tar.xz | |
editor: listen on key Escape on document to clear selection
Previously, to clear selection, user must set the editor to active
by selecting any line.
This commit allow user to clear selection by pressing "Escape" anywhere
on the document.
While at it, add methods to turn on or off the editor editability.
Diffstat (limited to 'editor/example.html')
0 files changed, 0 insertions, 0 deletions
