Chat and textarea formatting
harrison at all-auctions.com
harrison at all-auctions.com
Tue Feb 14 17:46:09 EST 2023
Hi Craig,
No.
I have an HTML5 <textarea>
Here’s an example from W3Schools:
<!DOCTYPE html>
<html>
<head>
<style>
textarea {
resize: none;
}
</style>
</head>
<body>
<h1>The textarea element - Disable default resize option</h1>
<p><label for="w3review">Review of W3Schools:</label></p>
<textarea id="w3review" name="w3review" rows="4" cols="50">
At w3schools.com you will learn how to make a website. They offer free tutorials in all web development technologies.
</textarea>
</body>
</html>
It creates a text box that a user can enter text into for input purposes.
The text box will not however retain any formatting that one
might like to apply such as bold text or even simple carriage returns.
It all ends up being one big block of text such as this one.
The data has to go into my database so I can retrieve it for someone
else at a later time. When I retrieve the text, it needs to retain whatever
rich text that the original user entered.
I want to know how people are handling this either with or without
the use of <textarea>.
I hope that clears up any confusion.
Thanks for getting back to me!
Rick
> On Feb 14, 2023, at 5:16 PM, Craig Newman via use-livecode <use-livecode at lists.runrev.com> wrote:
>
> Hi.
>
> Not sure I understand.
>
> You have an editable field that you cannot type into? Do you get a blinking cursor in that field if you click inside it?
>
> Perhaps some properties for that field are such that LC is preventing access?
>
> Craig
More information about the use-livecode
mailing list