WYSWYG editors make a mess, better keep it clean

Discussion corner for Developers of Serendipity.
Post Reply
johnywhy
Regular
Posts: 23
Joined: Tue Sep 23, 2008 11:29 pm

WYSWYG editors make a mess, better keep it clean

Post by johnywhy »

after much WYSIWYG editing, my posts are a mess.

seredipidty developer garvinhicking, said
"Your blog entry looks like a HTML code soup, you got empty tags in there a lot....when you move a lot of stuff around and delete it again, there are often tags left behind. ESPECIALLY so if you use IE, which leaves a mess behind".
that's just unacceptable.

so, here's my feature request:

Keep the html clean! Don't leave junk behind, no matter how many edits are done.

here are some ideas:

http://www.456bereastreet.com/archive/2 ... m_instead/

http://www.standards-schmandards.com/20 ... or-test-2/

http://www.37signals.com/svn/posts/1330 ... wyg-editor

http://plone.org/documentation/tutorial ... -with-kupu

http://www.cmsreview.com/WYSIWYG/OpenSo ... ctory.html

http://www.thefreecountry.com/webmaster ... tors.shtml
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Keep It Clean

Post by garvinhicking »

Hi!

Serendipity now uses Xinha in the next version. Many WYSIWYG editors still produce a code soup though, there is not much that can be done to cleanup because especially IE simply screws with too much that is beyond repair. But xinha does a good job in cleaning up many of those messes.

You can try out serendipity 1.4 snapshots to try it out yourself, if you want. I tmight not work on existing entries, but for new ones.

Also you might want to think about using BBCode, Textile or other availble markups instead of WYSIWYG, if you like. s9y has a flesible markup system where you can hook in any kind of other WYSIWYG Editor (TinyMCE etc. are available) or use Wiki like syntax.

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Post Reply