1
1
mirror of https://github.com/zserge/awfice.git synced 2024-11-20 11:30:53 +03:00

edit.html: set focus (cursor in editable) after open (#8)

* edit.html: set focus (cursor in editable) after open

* no timeout needed in modern browsers
This commit is contained in:
Sergey G. Brester 2021-08-12 17:08:50 +02:00 committed by GitHub
parent 8120d641ed
commit d4ba34d7a6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1 +1 @@
<body contenteditable style=line-height:1.5;font-size:20px>
<body contenteditable style=line-height:1.5;font-size:20px onload=document.body.focus()>