]> git.ktnx.net Git - icedeb.git/commitdiff
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)
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


No differences found