aboutsummaryrefslogtreecommitdiff
path: root/editor/example.html
diff options
context:
space:
mode:
authorShulhan <ms@kilabit.info>2021-08-28 22:28:01 +0700
committerShulhan <ms@kilabit.info>2021-08-28 22:29:37 +0700
commit51e7db8b61ec21628fc0ed2f5f48bfff47962684 (patch)
treebadf3236a140f228fbdbf2315c65e3b7c2f51e99 /editor/example.html
parentc246299101e47c28e064dbeacdbe718909bd7f17 (diff)
downloadpakakeh.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