Simple Content Editor

Two big bugs fixed in this update. First - if you ran the tag in edit mode and the data file didn't exist, you would get an error. Secondly - if you had more than one editor on the page, you wouldn't get the correct behavior. This should be ok now.

Note that the tag saves data in the Application scope, and now also saves data in the request scope to keep down on the HTML it outputs. It still outputs the JavaScript function N times, but I'm not so worried about that.

You can download the tag here.

Thanks to Emmet McGovern for finding these issues.

Archived Comments

Comment 1 by Angus McLaren posted on 5/23/2005 at 1:27 AM

One wonders if you ever bother testing anything you write.

Comment 2 by Raymond Camden posted on 5/23/2005 at 1:30 AM

I do test actually, but my code is only as perfect as I am.

Comment 3 by Raymond Camden posted on 5/23/2005 at 1:33 AM

I thought i recognized your name. Your the same one who said my blog sucked, the content was out of date, and that I couldn't drive.

Why exactly are you reading my blog if you think it sucks?

Comment 4 by noname posted on 5/23/2005 at 1:56 AM

hahaha ... good question Ray.

Comment 5 by nOah posted on 5/23/2005 at 6:45 PM

Thanks for the tag / and idea Ray, I have the perfect place to try it out.