September 11, 2006

Live Comment Preview

I’ve hacked a new feature into this blog, live comment preview. It requires that javascript is enabled and you have to be viewing the actual blog itself. It’s not capable of previewing all parts of textile, but it will work with the basic formatting syntax.

See if it works, i’ve only tested it on my PC.


- 12 comments by 3 or more people Not publicly viewable

[Skip to the latest comment]
  1. BOLD, italic, MAGIC

    11 Sep 2006, 15:56

  2. Nick Howes

    Yoink…

    11 Sep 2006, 16:04

  3. Mathew Mannion

    That’s actually very clever. You can be very proud of yourself!?

    11 Sep 2006, 16:05

  4. Mathew Mannion

    Oh, and yoink

    11 Sep 2006, 16:06

  5. Mathew Mannion

    Oh noes recursive iframe!

    :)

    Since HTML isn’t allowed in comments, a sensible improvement to the JS that you have would be a simple regex to ditch all HTML tags.

    11 Sep 2006, 16:18

  6. GOOD STUFF

    11 Sep 2006, 16:20

  7. Oh god, someone changed my name to null null. And stop putting recursive iframes in the blogs, you’ll get fined :-p

    11 Sep 2006, 16:23

  8. nice!

    11 Sep 2006, 17:20

  9. I want that kitty! It is wierd that the box below is copying me!

    I’m stupid.

    Haha, the box said it was stupid.

    11 Sep 2006, 17:35

  10. What does it all mean?

    REAL TIME!!!1!!11!one!!

    11 Sep 2006, 18:35

  11. The problem with this is that it’ll lead people into a false sense of security that what they type will be exactly what results when you press Add comment, which may not always be the case if they’re doing complicated stuff. But then, they shouldn’t be doing complicated stuff in comments. And you could always replace it with an AJAX observer that calls the same serverside controller. That’d probably kill the servlet though :) tis only diddy.

    11 Sep 2006, 19:52

  12. I still have issues with adding a sodding picture sometimes. I don’t like all this ‘ere new fangled technulligdy.
    It gives my trat’or an ‘ed ache.

    Oi! Get ort moi land!

    Wha?

    12 Sep 2006, 00:24


Add a comment

You are not allowed to comment on this entry as it has restricted commenting permissions.

Tags

Blog archive

Loading…

Galleries

Feed Me

Affiliates

Not signed in
Sign in

Powered by BlogBuilder
© MMXIX