]> git.ktnx.net Git - icedeb.git/commit
use a hidden <textarea> for the clipboard pasting and transfer the text into a nice...
authorDamyan Ivanov <dmn@debian.org>
Mon, 19 Jun 2017 14:51:50 +0000 (14:51 +0000)
committerDamyan Ivanov <dmn@debian.org>
Mon, 19 Jun 2017 14:51:50 +0000 (14:51 +0000)
commitaee59ae1e856b0f51f4806fdadfdb6ecda01609e
treeee2352aa13930b2854da8a8534d881609dcbf268
parent518414298c349bd8721e52d13c3872f35d168760
use a hidden <textarea> for the clipboard pasting and transfer the text into a nice <input>

caveats: it has to be <textarea> and with contenteditable="true"
<div> works too, but that would receive also new-lines and formatting.
<textarea> nicely strips all formatting

<input> doesn't work since it cannot have text content

<input> is used for the UI since it looks like the natural choice
to enter the query

select all the text in the <input> to allow for quick replacement
by the user
icedeb.css
icedeb.html
icedeb.js