Here is what I mean by 'pre-fill'. Currently, when I click on your 'PARAGRAPH' button, it gives me this:
<p> enter some lines of text </p>

I think it is unnecessary to give me the text 'enter some lines of text'. I know that I have to enter text. And now I have to select all that text and over-write it. I am too Lazy for all that. The same goes for 'code' tags and list tags.

The reason why paragraphs can not be inserted the cursor is because it would not be clean to have paragraphs tags overlapping
Are you aware that the ending 'p' tag is not required? I never use </p> when I'm composing a node. Here is what my node would look like with 2 paragraphs:
<p>1st paragraph <p>2nd one

So, all I'd like when I hit your 'PARAGRAPH' button is the following:

<p>

But it's easier to write POD than all those commented-out lines. It's as simple as:

=pod This is a program that simulates some of the tasks of posting and prev +iewing a node at PerlMonks. I thought of making such a program for the following reasons: + 01-Practice the Tk module to a decent level or mastery. + 02-Make a GUI that could enable Perl newbies to post nodes quicker +without using some of the deprecated tags like <pre> and. =cut
There's nothing to test. And it's a for-free manpage which you or anyone can view:
perldoc renderer.pl

In reply to Re^3: RFC: Monastery Markup Renderer by toolic
in thread RFC: Monastery Markup Renderer by biohisham

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.