References: http://drupal.org/node/18792, http://drupal.org/node/18845

In Drupal 4.6, we got node previews -- with a nice wrapping div with a preview class. Unfortunately, comments didn't get the same treatment.

Therefore, we need to consider the workflow issues of previewing *anything* since it's clear that from a theming and UI perspective, a comment preview really isn't any different from a node preview, no matter what the backend architecture looks like.

Sorry I don't have code for this, but I would very much appreciate a solution.

CommentFileSizeAuthor
#1 comment.preview.patch1.5 KBSteven
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Steven’s picture

FileSize
1.5 KB

Untested patch.

factoryjoe’s picture

Tested and works as expected. +1.

Awesome!

Steven’s picture

Commited to HEAD and 4.6 (as it does not break existing themes, and is a worthwhile enhancement).

Anonymous’s picture