Page 1 of 1

Need Plugin or WYSIWYG editor to help with formatting

Posted: Tue Jun 10, 2008 8:56 am
by cody
Hi,

Is there a Plugin or WYSIWYG edito that will give me the line breaks that I want for formatting?

If I type out in the default WYSIWYG editor a sample like this:

Some time ago I started a paragraph about stuff for Serendipity forums and it looked like this. I liked the way it looked.

I was able to start a new paragraph and there was a line space in between the paragraphs, but not now.


It ends up appearing in the Blog likethis:

Some time ago I started a paragraph about stuff for Serendipity forums and it looked like this. I liked the way it looked.
I was able to start a new paragraph and there was a line space in between the paragraphs, but not now.


Ideally I would like to just be able to type the article and hit an extra return [Enter] to get the line breaks I would like without going back to add any code which is how I've been fixing the entries.

Thanks,

Cody

Re: Need Plugin or WYSIWYG editor to help with formatting

Posted: Tue Jun 10, 2008 9:42 am
by garvinhicking
Hi!

This can be a matter of your stylesheet. Depending on your template you might need something like this in your style.css:

Code: Select all

.serendipity_entry p {
margin-bottom: 1.5em;
}
Regards,
Garvin

Posted: Tue Jun 10, 2008 6:31 pm
by judebert
While the provided WYSIWYG editor doesn't support Serendipity style sheets, you should be able to use the Preview button to see what it will look like.

Re: Need Plugin or WYSIWYG editor to help with formatting

Posted: Wed Jun 11, 2008 9:06 am
by cody
garvinhicking wrote:Hi!

Code: Select all

.serendipity_entry p {
margin-bottom: 1.5em;
}
I have the following in my stylesheet:

Code: Select all

.serendipity_entry p {
    margin-top: 0px;
    padding-bottom: 10px;
What should I leave, remove, or add?

Thanks,

Cody

Re: Need Plugin or WYSIWYG editor to help with formatting

Posted: Wed Jun 11, 2008 10:16 am
by garvinhicking
Hi!

Actually, in your stylesheet (at least on your alderson arts site) you have this:

Code: Select all

.serendipity_entry p {
    margin: 0px;
    padding-bottom: 0px;
}
if it were like you wrote, it should work, because once you assign a padding-bottom or margin-bottom, it should show the spacing.

HTH,
Garvin

Posted: Wed Jun 11, 2008 7:03 pm
by cody
I fixed it. I was looking at the wrong stylesheet. :oops: Thanks for pointing out the obvious. :lol:

And is there a WYSIWYG editor that supports the stylesheets?