http://qs321.pair.com?node_id=543295


in reply to PerlMonks Editor

Cool stuff++

After spending 15 minutes writing up a node this morning, and then managing to blow it away by mis-advertently closing the wrong browser tab - (UGH!) - this has come just at the right time :)

One minor asthetic request - the "Format" menu items are obviously toggles. It would be nice to have them "ticked" (or not) as they've been applied.

And one minor annoyance - it seems to convert any linebreak into </p><p>. Wouldn't it be more appropriate (and intuitive) if it only started a new paragraph where there was a blank line separating blocks of text, and convert all other line breaks into <br>?

Example:

This is a line, with a linebreak And another line directly underneath # Converts to: <p>This is a line, with a linebreak<br> And another line directly underneath</p> # Where as: Blah blah some text and random pontification that goes on for a few li +nes. Then a new paragraph starts here... # Converts to: <p>Blah blah some text and random pontification that goes on for a few + lines.</p> <p>Then a new paragraph starts here...

Cheers,
Darren :)

Replies are listed 'Best First'.
Re^2: PerlMonks Editor
by VSarkiss (Monsignor) on Apr 14, 2006 at 15:21 UTC
      No, I didn't (obviously :p)
      But I do now, thank you very much :)
Re^2: PerlMonks Editor
by GrandFather (Saint) on Apr 17, 2006 at 07:22 UTC

    Toward the top of the code is a todo list. Check item 7 in the list :).

    I never use <br> when writing PM nodes so I guess I ignored it as a possibility. I find that between code tags and paragraphs I don't find much use for blocks of text that may be wrapped (like paragraphs), but which are single spaced (like code blocks).

    For myself I prefer the current behaviour, but a configuration option (the first) could be added to control it.


    DWIM is Perl's answer to Gödel