Re: Putting default text into a TEXTAREA
Peter Flynn (pflynn@curia.ucc.ie)
23 Sep 1996 15:01:29 +0100
Date: 23 Sep 1996 15:01:29 +0100
From: Peter Flynn <pflynn@curia.ucc.ie>
Subject: Re: Putting default text into a TEXTAREA
In-reply-to: <199609230405.WAA15640@leight.lampinc.com> (message from Pat Max
To: pam@lampinc.com
Cc: www-html@w3.org, dlc@leight.lampinc.com
Message-id: <199609231401.PAA02367@curia.ucc.ie>
Is there any way to give a browser user a way to edit text that is more than
one line long? The TEXTAREA tag does not support VALUE=, and INPUT
with TYPE=TEXT is limited to 1 line.
Yes, but I guess it has to be generated dynamically from script:
echo \<textarea name=\"file\" rows=\"10\" cols=\"40\"\>
cat foo.bar
echo \</textarea\>
or something. Nottalottagood if you want to give someone lots of text,
but I suppose you could try <img src="foo.doc"> and make your server
emit Content-Type: application/msword and rely on users having their
browser configured to pop up Word :-)
Netscape Gold already has an "editor" enclosed. Surely it could have
a "Save back to browser" option under File?
Others: why not ship a copy of something small and light but good at
editing plaintext, like PFE, and preconfigure content type
application/x-plaintext to pop it up, and fix it to write back to the
browser.
///Peter