RE: [PHP] Re: rich text editing

2003-08-22 Thread Andy Crain
The only problem in doing so, for me at least, is in editing text
created by htmlarea. Nonsupported users who get a normal textarea
pre-loaded with html generated by htmlarea could break tags, etc., on
updates. I wrote a class I use to work around this by: determining which
type of textarea they'll get (wysiwyg htmlarea or plain textarea), and
if they're using a plain textarea and editing html, all html except for
bold, italics and underline tags are replaced with markers. The plain
textarea user then can add standard bb style tags, [b], [i], etc., then
on submit the bb tags will be converted to html, and the original html
will be added back in, properly nested, etc. If you'd like to use it,
I'd be happy to email it. I'm sure it could use a few extra sets of
eyes.
Andy

 -Original Message-
 From: Nelson Rodríguez-Peña Alarcón [mailto:[EMAIL PROTECTED]
 Sent: Thursday, August 21, 2003 6:46 PM
 To: Redmond Militante
 Cc: [EMAIL PROTECTED]
 Subject: Re: [PHP] Re: rich text editing
 
 Hi,
 
 Redmond Militante wrote:
  
  (...) what do people generally do when using an activex rich text
  editor and the user is using a non supported browser?
 
 You can display a textarea. It'd allow users to edit/add content in a
 simpler, less powered way.
 
 --
 regards,
 
 
 Nelson Rodríguez-Peña A.
 Diseño y Desarrollo Web y Multimedia
 
 
 
 --
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php




--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Re: rich text editing

2003-08-21 Thread Marek Kilimajer
Tan Ai Leen wrote:

You can also use dhtml/js to code a html editor. But it will work in IE
only. 
And also mozilla 1.3+

http://prdownloads.sourceforge.net/itools-htmlarea/

Download version 3.0 beta

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: [PHP] Re: rich text editing

2003-08-21 Thread Redmond Militante
hi all

i've been playing around with the 3.0 beta version of html area.  it seems really 
nice.  (thank you also btw, for the advice about the rtf tags...).

the problem with html area is - it works great on ie and moz, but when you try to look 
at html area on a nonsupported browser -say, IE for mac - it doesn't work at all.  we 
have mostly IE 5+ users using this app, but there are a number of mac users.  what do 
people generally do when using an activex rich text editor and the user is using a non 
supported browser?

thanks
redmond

[Thu, Aug 21, 2003 at 03:20:00PM +0200]
This one time, at band camp, Marek Kilimajer said:

 Tan Ai Leen wrote:
 
 You can also use dhtml/js to code a html editor. But it will work in IE
 only. 
 And also mozilla 1.3+
 
 http://prdownloads.sourceforge.net/itools-htmlarea/
 
 Download version 3.0 beta
 
 
 -- 
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php
 

-- 
FreeBSD 5.1-RELEASE-p2 FreeBSD 5.1-RELEASE-p2 #0: Mon Aug 11 13:00:11 CDT 2003
 5:15PM  up 7 days, 16:59, 2 users, load averages: 0.14, 0.07, 0.11
 
A bachelor is a selfish, undeserving guy who has cheated some woman out
of a divorce.
-- Don Quinn
 


pgp0.pgp
Description: PGP signature


Re: [PHP] Re: rich text editing

2003-08-21 Thread Nelson Rodríguez-Peña Alarcón
Hi,

Redmond Militante wrote:

(...) what do people generally do when using an activex rich text
editor and the user is using a non supported browser?
You can display a textarea. It'd allow users to edit/add content in a 
simpler, less powered way.

--
regards,

Nelson Rodríguez-Peña A.
Diseño y Desarrollo Web y Multimedia

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


RE: [PHP] Re: rich text editing

2003-08-20 Thread Chris W. Parker
DvDmanDT mailto:[EMAIL PROTECTED]
on Wednesday, August 20, 2003 1:32 PM said:

 Look into activeX stuff... That's how they do it...

Umm.. that's how they do what?

Oh I see what happened... you forgot to include the text you were
replying to in your email so that anyone reading your response could
understand the context!


c.

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php