7.08 does it again ...

Still dealing with the things that should have been fixed some time ago.

All editors in my site do the following. Here is a sample of the html code:

<p>I have a question. But first, a few comments.</p>
<p> </p>
<p>The original EV-1 had a cadre of lead acid batteries in it. It was a  100% electric car with a reported range of around 92 miles. Some got  more, many got less but even in the hills of LA, it could muster 50  miles before a recharge. It weighed in excess of 3000lbs and was actually a very quick little  car to drive. The people that were lucky enough to get one in the lease  program all loved the car to death, even with it's shortcomings.</p>

Now, it adds the paragraph tag when you hit the enter key for a new line. That's fine but the text displays like this:

I have a question. But first, a few comments.

 

The original EV-1 had a cadre of lead acid batteries in it. It was a 100% electric car with a reported range of around 92 miles. Some got more, many got less but even in the hills of LA, it could muster 50 miles before a recharge. It weighed in excess of 3000lbs and was actually a very quick little car to drive. The people that were lucky enough to get one in the lease program all loved the car to death, even with it's shortcomings.

 In other words. After all this time, the editor still CANNOT get the paragraph spacing correct. How come? How come we still have to deal with this issue that has been an issue from day one? Why do I need to always go into the general.css file and fix this?

http://towtalk.net ... Hosted by Zarconia.net!
Quote · 18 Jan 2012

A carriage return should not add a second ... <p></p>, it should merely close the paragraph ... </p>  and start a new paragraph ... <p>

Right now, hitting the carriage return closes the paragraph </p>, starts a new paragraph <p>, closes that paragraph with no content </p> and starts Another paragraph <p>

 

 

 

 

WHY?

 

 


http://towtalk.net ... Hosted by Zarconia.net!
Quote · 18 Jan 2012

It's a CSS problem.  Basically, there's little spacing between <p>, so the second <p> </p> makes up for it.  It's not elegant, and I could have sworn it was addressed before.

BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin
Quote · 18 Jan 2012

Nope ... People just found work arounds

http://towtalk.net ... Hosted by Zarconia.net!
Quote · 18 Jan 2012

Ok, I am getting frustrated again. My members are complaining because their posts look like S__T!

There is no reason to stick an extra set of <p> tags between paragraphs! If someone wants a space between them, they can just hit the enter key again!

Every time they start a new line, it adds 10 INCHES OF SPACE BETWEEN THE PARAGRAPHS!!!!!

I can go in and fix the sloppy coding by tricking the editor but I SHOULD NOT HAVE TO !!!!! Does anyone here actually test any of the code or pages they write? I cannot believe that the simplest of problems, like this one HAVE NOT BEEN ADDRESSED YET!

http://towtalk.net ... Hosted by Zarconia.net!
Quote · 19 Jan 2012

You asked for a why. So here it is.

The extra <p></p> tag is inserted instead of a <br> for a blank line by the tinymce editor, and is the default. And they have provided a reason as to why. http://www.tinymce.com/wiki.php/TinyMCE_FAQ#TinyMCE_adds_BR_elements_to_my_content

So the addition of those is NOT a dolphin issue. However it is a dolphin issue to provide proper css for the <p> tag.

https://www.deanbassett.com
Quote · 19 Jan 2012

Ok. I get that mostly and I understand the idea of the <p> over the <br> tag. But then, I have to ask.

 

Why does the editor have to create an extra set of <p> tags? In other words, when you create a line of text, then CR to the next line, the editor actually creates an extra set. Example:

<p> Some created text here, then a CR</p><p></p><p>The start of the next paragraph... the red tags seem unnecessary to me and are what's causing the added space between the paragraphs. Shouldn't a single CR create an ending </p> followed by a starting <p> for the next paragraph instead? If I wanted to add extra space between the paragraphs, a second CR then should add a set of P tags <p></p>..??

http://towtalk.net ... Hosted by Zarconia.net!
Quote · 19 Jan 2012

Anybody?

 

Ok, just add this to your general.css file to counteract this editor terrorism:

    p
    {
        margin:0px;
        padding:0px;
    }

It won't fix it but it'll make it a little more bearable

http://towtalk.net ... Hosted by Zarconia.net!
Quote · 20 Jan 2012
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.