I don't like how when I'm using the rich text editor in Blogger and I press Enter it inserts a <br > instead of a <p>. Is there any way to get the behavior to change? Or at least is there any way to insert a <p> without switching to the HTML tab?

I'm using Blogger in draft, by the way. I tried both the old editor and the new one; and using Press "Enter" for line breaks instead of Use <br /> tags doesn't help.

I also tried disabling Convert Line breaks, which is described as :

If Yes is selected, single hard-returns entered in the Post Editor will be replaced with single <br /> tags in your blog, and two hard-returns will be replaced with two tags (<br /><br />).

3 Answers
3

This behavior isn't configurable. Both the current editor, the draft editor and the "old" editor use a combination of BR and DIV tags when they should be using P tags.

It is a mind boggling decision, and it is utterly wrong. It explains a lot of the problems with inconsistent paragraph rendering in Blogger. Perhaps it works in IE, but it doesn't work consistently in webkit browsers like Chrome and Safari.

I think the newest editor inserts two consecutive BR tags, but the older one inserted a single DIV and a single BR.

To do this, you'll need to go to the template area and click “edit HTML”. Do a search for /body. Just above that, insert <script src="http://code.jquery.com/jquery-1.10.1.min.js"> Then insert <script></script>. What you have now, should be this:

some code
<script src='http://code.jquery.com/jquery-1.10.1.min.js'/>
<script>
This is where the jQuery calls will go.
</script>
&lt/body&gt;
some more code

The proper jQuery calls can be figured out from this page in which they give an example asking for almost exactly what you want to do. This example has been copied below (from http://api.jquery.com/contents/)