Re: WORD to text problem
| From: | Paul M Foster | Date: | Tue, 05 May 2020 21:09:33 +0000 |
| Subject: | Re: WORD to text problem | ||
| References: | 1 2 3 4 5 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-327147@lists.php.net to get a copy of this message | ||
On Tue, May 05, 2020 at 04:31:54PM -0400, Tedd Sperling wrote:
>
> Alan:
>
> Many thanks (I think) for giving me a lot to review.
>
> I was hoping a couple of primed regexs would solve the problem, but it appears to be something
> larger.
>
> I tried using the <textarea> approach and it seemed to work, but like you said the OS
> will have a say in what ultimately the user cut/paste operation produces.
>
> I had one client who pasted from a Word document where a bold character was orphaned (left
> open) and his entire web page turned bold and then complained to me about it — like I did
> something wrong. He was a nightmare to deal with.
>
> Like I said, I now have literally a hundred, or more, very highly educated people (the worse
> kind) cutting and pasting all sorts of styles to get their words recorded like they feel is
> important — style over substance.
>
> So, it’s back to the drawing board. I was hoping for a simple solution, but… Well, what
> else do I have to do during this “stay at home” period, huh?
>
> My wife wanted to take a trip, so I put up a map of Michigan in our kitchen and told her to
> throw a dart and wherever it landed, we would spend two weeks there. It looks like we’re going to
> be spending two weeks behind the refrigerator.
I apologize for being late to the discussion, but how about those
editors people put on websites? Wordpress used to use one, but they
changed it a few years back. They present a sort of textarea box, but
with widgets to allow bold, italic and the like. I don't know how they
work-- I presume something Javascripty. Personally I can't stand the
things. Instead, I wrote blog software which allows the (techie) user to
upload fully formed HTML pages off their hard drive. But that wouldn't
work with highly educated non-computer people. ;-)
Paul
--
Paul M. Foster
http://noferblatz.com
http://quillandmouse.com