Current User: Guest
Please consider registering


Register? | Lost Your Password?

Search Forums:


 






Minimum search word length is 3 characters – Maximum search word length is 84 characters
Wildcard Usage:
*  matches any number of characters    %  matches exactly one character

Blank line in copy

No Tags
UserPost

3:02 pm
July 2, 2010


BartC

Los Angeles, CA, USA

Member

posts 107

 
1

Post edited 3:03 pm – July 2, 2010 by BartC


Hi Jeremy,

As a newbie to WP and Techozoic I have a raft of questions. I'll post them as separate Qs:

So here is #5:

The page/post text editor in the WP dashboard is not exactly a WYSIWYG view, by design. However, for us newbies, it sometimes is quite frustrating.

I would on occasion like to have a blank line between paragraphs. And, of course, a simple Enter does not do it. That blank line is ignored by the HTML code.

I have resorted to using a line with three dots as a place holder for the blank. I have tried Ctrl-Enter, and a bunch of other combos, all to now avail.

How is that done?

The site is HERE.

This is on WPv3 and Techozoic v 1.8.7

Thanks
bc

BartC

Currently using: WP v3.2.1 w/Techozoic v1.9.4
www.TheFrontBurner.us

3:52 pm
July 4, 2010


Jeremy Clark

Admin

posts 484

 
2

That is just the wordpress visual editor but instead of the … you could switch to the html editor and use this code instead.

<p>&nbsp;</p>

And it will do the same thing instead of … will show just a blank line.

Like Techozoic?
Rate it here or donate securely with PayPal to support my further development of Techozoic.

1:19 am
August 2, 2010


BartC

Los Angeles, CA, USA

Member

posts 107

 
3

Jeremy,

OK, so there is something I am missing here. I selected the code (which I take to be a paragraph tag, with a space the only content.)

Using the HTML version of the page, I insert it on a line all by itself, and update the page. I use a different browser, and look at the page. Indeed there is a blank line where I placed the code. … so far so good.

I then go back to the page and place another one. Go off and look at the page and indeed there is a blank line where I inserted the second instance of the code, but… the first one disappears!

I look at the HTML version of the page and indeed the first instance of the code is no longer there.

I must be missing something like the 800 pound gorilla, who is just standing in the room, about to sit on me.

The Front Burner

FYI: WP v3.0.1

BartC

Currently using: WP v3.2.1 w/Techozoic v1.9.4
www.TheFrontBurner.us

7:52 am
August 2, 2010


Jeremy Clark

Admin

posts 484

 
4

Whenever you go back to the page does it go straight to the html editor or does it switch to the visual editor first. If it switches then the visual editor will most likely remove it. If you go to your profile page by clicking on you name in your site's wp dashboard and then look for the box that says disable visual editor and check it then try it again. I've seen the visual editor cause All kinds of problems.

Like Techozoic?
Rate it here or donate securely with PayPal to support my further development of Techozoic.

5:30 pm
August 2, 2010


BartC

Los Angeles, CA, USA

Member

posts 107

 
5

Post edited 5:32 pm – August 2, 2010 by BartC


OK, I disabled the visual editor. Stuck the code in all places where I wanted it. And, this time it stuck.

However, what will happen if I re-enable the visual editor? And, then happen to load that page again, to fix a typo or some such. Will the visual editor then strip all my blank lines out?

Would '& # 1 6 0 ;' hold any better than '& n b s p ;' ? Actually, how are they different? And, should this 'feature' of the visual editor be reported as a bug.

Thanks…

BartC

Currently using: WP v3.2.1 w/Techozoic v1.9.4
www.TheFrontBurner.us

7:34 pm
August 4, 2010


Jeremy Clark

Admin

posts 484

 
6

The visual editor will strip them out whenever you save the post. It's meant to help average users who mistakenly add to many tags. I think I've seen a way to change this behavior I'll have to look around and find it again. I'll let you know of I find anything.

Like Techozoic?
Rate it here or donate securely with PayPal to support my further development of Techozoic.

10:50 pm
August 4, 2010


BartC

Los Angeles, CA, USA

Member

posts 107

 
7

Thanks Jeremy,

This is a big pain. What do other folks do about inserting blank lines?

Should this not be logged as a bug?

And what about:

Would '& # 1 6 0 ;' hold any better than '& n b s p ;' ? And actually, how are they different?

bc

BartC

Currently using: WP v3.2.1 w/Techozoic v1.9.4
www.TheFrontBurner.us

10:22 am
August 8, 2010


Jeremy Clark

Admin

posts 484

 
8

The Wordpress visual editor is stripping the extra p tags that it thinks are empty. You could try adding this to your custom Css under the style setting page.

#content p {
margin-bottom : 5px;
}

This will give some space to the bottom of your paragraphs. You can adjust the number to get more or less space.

Like Techozoic?
Rate it here or donate securely with PayPal to support my further development of Techozoic.

10:52 pm
August 14, 2010


BartC

Los Angeles, CA, USA

Member

posts 107

 
9

Post edited 10:58 pm – August 14, 2010 by BartC


OK, I think I have found a solution to the WP Visual editor removing blank lines. There is plugin called:

TinyMCE Advanced by Andrew Ozz.

This plugin seems to take a blank line in the Visual Editor and places this code on a line:

<p><br class="spacer_" /></p>

at that location. If not careful one will actually end up with more blank lines than intended. This plugin also adds additional function buttons to the Visual Editor tool bar.

I don't understand all the options it has, but the bit for blank lines needs to be selected on its setup page that gets created under Settings.

BartC

Currently using: WP v3.2.1 w/Techozoic v1.9.4
www.TheFrontBurner.us

No Tags

Reply to Topic:
Blank line in copy

Please include the version number of theme that your asking about. As well as a link to the website where the problem is happening if applicable. Thank you.

Guest Name (Required):

Guest Email (Required):

HTML Editor
Smileys
Confused Cool Cry Embarassed Frown Kiss Laugh Smile Surprised Wink Yell
Post New Reply

Guest URL (required)

Math Required!
What is the sum of:
7 + 1
   



About the Jeremy Clark – TechNet.com Forum

Forum Timezone: America/New_York

Most Users Ever Online: 66

Currently Online:
10 Guests

Currently Browsing this Topic:
1 Guest

Forum Stats:

Groups: 2
Forums: 3
Topics: 359
Posts: 1268

Membership:

There are 307 Members
There have been 120 Guests

There is 1 Admin
There is 1 Moderator

Top Posters:

BartC – 107
demoondoggie – 23
Heather – 21
SarahM – 15
mpromp2 – 15
Monica – 15

Recent New Members: livewise, mpromp2, kevin, cbegg50, kismetconsulting, AdminKim