Editor Line Returns

Random stuff about serendipity. Discussion, Questions, Paraphernalia.
Post Reply
rj
Regular
Posts: 477
Joined: Sun Sep 10, 2006 2:53 pm

Editor Line Returns

Post by rj »

I have used 3 editors now and they all add an extra line return, or perhaps I should say Serendipity adds an extra line return! Not sure! :)
I was given this not long ago to try and fix that problem and it doesnt seem to work.

/* container for the entry/post */
.serendipity_entry p {
margin-bottom: 10px !important;
}

I want the <p> to not create a line return, just go to the next line down, not two lines down.

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

Re: Editor Line Returns

Post by garvinhicking »

Hi!

If you want NO spacing you need to use "0px" instead of "10px". :)

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/
rj
Regular
Posts: 477
Joined: Sun Sep 10, 2006 2:53 pm

Post by rj »

ahhh....

So if I wanted to make a third of a line return between paragraphs, then I would like put a 3px in there?

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

Post by garvinhicking »

Hi!

Why don't you just try it out? :)

Best 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/
vavai
Regular
Posts: 37
Joined: Thu Mar 01, 2007 12:43 am
Location: Bekasi-West Java-Indonesia
Contact:

Post by vavai »

Hi Garvin,

(act as rj), "because I'm scared :D.

Is this the same problem with another topic (see http://board.s9y.org/viewtopic.php?t=9519) ?

Sorry, but i used Kate or KWrite rather than built-in editor because the built in editor make me scared with carriage return :-). I used Firefox or IE with built-in editor but both produced an extra line everytime I hit RETURN or ENTER. It's solved by copy-paste an article from Kate to WYSWYG Editor...

Regards,


Vavai
/* Muhammad Rivai Andargini */
/* Migrasi Windows-Linux : http://www.vavai.com/index.php */
/* Blog Vavai : http://www.vavai.com/blog/index.php */
/* Bridge Blogging : http://www.vavai.net */
rj
Regular
Posts: 477
Joined: Sun Sep 10, 2006 2:53 pm

Post by rj »

Good info...
But my problem is bringing in several writers who are not at all computer savvy and have the editor work easy for them, its not a matter of ME.

I have worked with HTMLarea, TINEmce and FCKer.
FCKer is easily the best. But they all like that extra return, part of the new culture or something.
Adding the .p in the css really doesnt solve it because its adding BRs rather than </p> s.

I found one important bit of flakeyness! Mouse Paste verses CONTROL V.
They are different. Control V does it right, Mouse paste does it wrong.

And if you click the IMPORT FROM WORD in FCKer and paste wherever you got it whatever it is it in there first, it helps.
Programmers are probably not aware of such problems because they ALWAYS use the keyboard commands. :)
Post Reply