Chat and textarea formatting
harrison at all-auctions.com
harrison at all-auctions.com
Tue Feb 14 22:28:06 EST 2023
Hi Alex,
Once the HTML is sent, then it becomes an LC thing,
because I have to put the information into an LC variable,
and then after doing a little work on it, put it into the database
using LC database stuff.
If LC had a way to provide direct inputs fields into webpages
it would be a totally LC thing, but there is no way to do that
without HTML. :-(
Yes, I saw the horrible Javascript thing. Yuk!
While TinyMCE looks interesting, I really wanted
to see if there was a solution that didn’t depend
on a third party.
I will bookmark that website, and if all else fails,
I may find I’m stuck with it.
Thanks for the suggestion.
Rick
> On Feb 14, 2023, at 7:49 PM, Alex Tweedly via use-livecode <use-livecode at lists.runrev.com> wrote:
>
> It's not really a LC question, it's an HTML thing :-)
>
> textarea etc. only handle plain (unformatted) text.
>
> Googling for suggestions I can only find two common answers:
>
> 1. horribly complicated ways to add Javascript to your script to handle formatting
>
> 2. "use TinyMCE"
>
> I'd go for the second alternative. I did use it years ago, and it was (I think I remember) quite easy, but I haven't used it for a long, long time.
>
> Alex.
More information about the use-livecode
mailing list