HELP : WYSIWYG Editor spacing error

Found a bug? Tell us!!
Post Reply
andy8125

HELP : WYSIWYG Editor spacing error

Post by andy8125 »

When I try to space out or "<br>" my posts it justs sticks together but it worked in the 0.71 release....

I was using 0.8 Beta 5 .

Is this issue fixed in Beta 6?
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: HELP : WYSIWYG Editor spacing error

Post by garvinhicking »

Can you post a screenshot of your wysiwyg and how you insert the breaks, and then the URL to your blog to see those entries?

I cannot reproduce this, but I'm not sure I get what you mean.

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
andy8125

Re : Help

Post by andy8125 »

garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Re : Help

Post by garvinhicking »

Okay, this is desired behaviour of the default template.

There we use this CSS:

Code: Select all

.serendipity_entry p {
    margin: 0px;
    padding-bottom: 0px;
}
which tells that the paragraphs do not contain spacing. The WYSIWYG editor cannot interpret that CSS correctly and despite shows the spacing between the paragraphs.

But that is just a minor glitch, and is the reason why there's the "Preview" you can click on.

If you do want double spacing, either create your own template and adjust the CSS code above, or you create double paragraphs in your WYSIWYG editor. Or you use Shift-Enter in the WYSIWYG editor to create '<br />'s.

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
andy8125

Re: HELP

Post by andy8125 »

so how am I suppose to adjust the code....I'm part CSS Newbie here lol...
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: HELP

Post by garvinhicking »

Just edit your templates/default/style.css file. Or create your own template by copying that file to your own directory, then the style.css will not be overwritten when you upgrade Serendipity.

Also read http://www.s9y.org/44.html, there are more detailed information.

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Post Reply