Ricketyclick: Comment Preview and JavaScript
As noted in the previous post, I’ve installed the “Ajax Edit Comment” plugin, but I was not happy with it, because it did not provide a preview capability.
This post announces the installation of the Ajax Comment Preview plugin. Again, this depends on Ajax technology, which may not work with all browsers.
The great advantage this plugin provides is that the preview is filtered through the Wordpress display engine, so that your preview should look exactly as it will appear when it is posted.
Testing another feature: Show ▼
Wow, I was mistaken. I did not have JavaScript turned off in Firefox. It’s turned off now, and although you can still post a comment, you cannot preview it or edit it after posting. I’m going to have to think about this. Not running JS breaks other stuff in the Wordpress posting editor as well.
The Spoiler plugin I’m using (which protects text with Show/Hide tags) doesn’t work with JavaScript off, and it is not graceful about it, either: spoilers are invisible. I’d prefer a failure mode where spoilers show if JS is not present.
Somehow, I doubt that any editing or spoiler plugin will work without JS.
On the other hand, the spellchecker I’m using in Firefox does work with no JS.
OK, I’ve turned my JS back on. I’m keeping the current plugins, because turning off JS breaks so many things, I think most people will have it on.
Tags: Ajax, Ajax Comment Preview, JavaScript, Word Press
July 31st, 2008 at 4:07 pm
This is a comment to check the “Preview” plugin. And, indeed, there is a preview button now.
Here’s a link.
Here’s some bold. Here’s some italic.
And now I’m editing this comment. There is no preview capability with the Ajax Edit Comments plugin, and the interface is a bit different.
>_< Dang it.
Still, it meets my favorite standard: Better Than It Was.
July 31st, 2008 at 4:33 pm
This comment is posted via Firefox with no Javascript installed and Java turned off.
Preview works anyway.
Edit Comment works too.
===
Oh, wait, no it doesn’t. I didn’t really have JavaScript turned off, as noted in the post.
(As the WordPress admin here, I can edit comments in WordPress itself, without using the plugins. I believe that if you are a registered user, you will be able to edit your comments via WP.)
July 31st, 2008 at 4:38 pm
This is comment is being created with javascript turned off.