Beefy Boxes and Bandwidth Generously Provided by pair Networks DiBona
No such thing as a small change
 
PerlMonks  

Re: PerlMonks Editor

by McDarren (Abbot)
on Apr 14, 2006 at 06:44 UTC ( #543295=note: print w/ replies, xml ) Need Help??


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 :)


Comment on Re: PerlMonks Editor
Select or Download Code
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 (Cardinal) 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

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://543295]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (6)
As of 2014-04-19 20:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (483 votes), past polls