Live module installed - ajax comment previews

Events happening in the community are now at Drupal community events on www.drupal.org.
moshe weitzman's picture

Comments now show a live preview below the textarea in which you type. The primary use for this is for users composing with markdown or HTML. Provided by live.module. Please report any problems here.

Comments

Preview should be above comment form

boris mann's picture

It's very hard to see the preview when it is below. Above might make more sense?

  • markdown
  • works

would be nice but ...

moshe weitzman's picture

as you compose a longer post, your authoring textarea would move down on you.

above filter tips?

greggles's picture

I don't know what the placement options are on this (haven't installed it yet myself) - how about above the filter tips?

possible, but not desired?

moshe weitzman's picture

thats possible - do folks think it is a good idea? since this module gets rid of the Preview button entirely, folks will only have to scroll past the Preview once they are done authoring in order to click 'Post comment'. So I think this greggles' suggestion is an improvement.

preview moved

amy-gdo's picture

Oops - this post is really from moshe weitzman. Doing some masquerading at night :)

i finally experimented until i got the css selector right. the preview is now right below the comment textarea and above the filter tips. This is still not ideal. Perhaps side by side is ideal (for wide screen monitors) but even then it would be very hard to line up the changing parts in the textarea and in the Preview once you get a few paragraphs into your comment. This is a really interesting problem that someone should solve :)

Filter tips sounds good

boris mann's picture

Might also want to have a hyperlink right after body / before preview to teleport to the Post button. Let's experiment a bit....

I'd recommend moving the

seanr's picture

I'd recommend moving the preview above the comment entry field (between subject and comment). It'll be quite a bit easier to reference that way and will allow the user to keep the Input Format fieldset open and still see the preview.

I like this module

David Latapie's picture

I like this module and decided to use it with BU Editor, instead of a WYSIWYG Editor (I know that BU Editor has its own preview function, but it is not on by defult so most people won't notice it at all).

Maintenance

Group organizers

Group categories

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds:

Hot content this week