Re: [WSG] Editor Controls

2005-08-06 Thread development



www.xstandard.com they 
are very serious about standars =) even got some firefox/mozilla behavior 
modified to allow better compatibility with their editor

  - Original Message - 
  From: 
  Tatham Oddie (Fuel Advance) 
  
  To: wsg@webstandardsgroup.org 
  Sent: Sunday, August 07, 2005 1:08 
  AM
  Subject: [WSG] Editor Controls
  
  
  Hi 
  all,
   
  I’m 
  looking for some advice on editor controls (like JS controls) for a CMS type 
  ‘thing’ I’m building.
   
  Basically, it needs to be a rich edit control that’s 
  simple for users to use.
   
  However:
   
  
Must produce 
XHTML 
Must only produce p, ul, ol, li, a, 
img, code, dl, dt, dd, strong, em, del 
Must only allow the user to format 
by 

  bold = 
   
  italics = 
   
  strike = <del> 
  or a selection of classnames that I 
  specify in the configuration 
Must allow embedding of 
images 
Could allow upload of 
images 
   
  Any 
  ideas?
   
  Most of the controls out there seems to generate 
  crappy HTML4 then hack it across to something that’s mostly XHTML. If I cant 
  find one, I’ll probably start writing one then make it open source down the 
  track, however I don’t really have that much time to wait for 
  it.
   
   
   
  Thanks,
   
  Tatham 
  Oddie
  Fuel 
  Advance - Ignite Your Idea
  www.fueladvance.com
   


Re: [WSG] Editor Controls

2005-08-06 Thread Joshua Street
On Sun, 2005-08-07 at 15:08 +1000, Tatham Oddie (Fuel Advance) wrote:
> Hi all,
> I’m looking for some advice on editor controls (like JS controls) for
> a CMS type ‘thing’ I’m building.

First off, I'm foreseeing an admin saying this should be on the CMS list
instead...

> Any ideas?

... but yes, since you asked, I've got an idea.

Matt Mullenweg of the WordPress project announced a few days ago
( http://photomatt.net/2005/08/05/wysi/ ) they were planning to
integrate the TinyMCE Javascript WYSIWYG editor
( http://tinymce.moxiecode.com/ ).

I'm assuming they've got that working in full XHTML happiness, given the
general history of that project (WordPress, that is) in terms of
adherence to validation (semantically always been pretty good, too)...
but, until that comes out (version 1.6, probably a few months still),
this post on the TinyMCE forum
( http://tinymce.moxiecode.com/punbb/viewtopic.php?id=27 ) appears to be
the best guide to making it spit out nice code.  I think.  I haven't
actually tried it yet, though.

> Most of the controls out there seems to generate crappy HTML4 then
> hack it across to something that’s mostly XHTML. If I cant find one,
> I’ll probably start writing one then make it open source down the
> track, however I don’t really have that much time to wait for it.

This may be doing the same thing, I'm uncertain.

Kind Regards,
Joshua Street

base10solutions
Website:
http://www.base10solutions.com.au/
Phone: (02) 9898-0060  Fax: (02)
8572-6021
Mobile: 0425 808 469

Multimedia  Development  Agency



E-mails and any attachments sent from base10solutions are to be regarded
as confidential. Please do not distribute or publish any of the contents
of this e-mail without the sender’s consent. If you have received this
e-mail in error, please notify the sender by replying to the e-mail, and
then delete the message without making copies or using it in any way.

Although base10solutions takes precautions to ensure that e-mail sent
from our accounts are free of viruses, we encourage recipients to
undertake their own virus scan on each e-mail before opening, as
base10solutions accepts no responsibility for loss or damage caused by
the contents of this e-mail. 


**
The discussion list for  http://webstandardsgroup.org/

 See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list & getting help
**



[WSG] Editor Controls

2005-08-06 Thread Tatham Oddie \(Fuel Advance\)








Hi
all,

 

I’m
looking for some advice on editor controls (like JS controls) for a CMS type ‘thing’
I’m building.

 

Basically,
it needs to be a rich edit control that’s simple for users to use.

 

However:

 


 Must produce XHTML
 Must only produce p, ul, ol, li, a, img, code,
 dl, dt, dd, strong, em, del
 Must only allow the user to format by
 
  bold = 
  italics = 
  strike = 
  or a selection of classnames
  that I specify in the configuration
 
 Must allow embedding of images
 Could allow upload of images


 

Any
ideas?

 

Most
of the controls out there seems to generate crappy HTML4 then hack it across to
something that’s mostly XHTML. If I cant find one, I’ll probably
start writing one then make it open source down the track, however I don’t
really have that much time to wait for it.

 

 

 

Thanks,

 

Tatham Oddie

Fuel Advance - Ignite Your Idea

www.fueladvance.com