wysiwyg + enter key?

Random stuff about serendipity. Discussion, Questions, Paraphernalia.
Post Reply
niknah
Regular
Posts: 7
Joined: Mon Jun 06, 2005 11:13 am

wysiwyg + enter key?

Post by niknah »

Is there a wysiwyg editor out there with a working enter key?
Like when I hit enter it goes down 1 line instead of 2.

Or have can it be fixed in the configuration somewheres?
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: wysiwyg + enter key?

Post by garvinhicking »

"Enter" in WYSIWYG editors always means to start a new paragraph. Hit "Shift-Enter" to create a newline instead.

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/
niknah
Regular
Posts: 7
Joined: Mon Jun 06, 2005 11:13 am

Post by niknah »

thanks heaps!


If anyone else finds this annoying, I found a way to make enter default to 1 line like normal, by adding the below to the style.css + admin/style.css of your template, but it may change the layout elsewhere.

p {
margin: 0px;
padding: 0px;
}
JWalker
Regular
Posts: 177
Joined: Mon Sep 12, 2005 4:14 pm
Location: Botevgrad, Bulgaria
Contact:

wysiwyg + enter key?

Post by JWalker »

Hm, I think it's not good way to do this.
Really all WYSIWYG editors I know use Enter to start new paragraph, including Office programs like MS Word and OpenOffice...
Ivan Cenov
OKTO-7 Co., Botevgrad
Bulgaria
niknah
Regular
Posts: 7
Joined: Mon Jun 06, 2005 11:13 am

Post by niknah »

But when I hit enter in msword/openoffice it goes down one line. Their paragraph is defined as 1 line?
I really can't understand html paragraphs, like when I do <p><p> it doesn't go down twice like it should.
falk
Regular
Posts: 512
Joined: Tue Sep 27, 2005 10:16 am
Location: DD
Contact:

Post by falk »

If you hit return you create a new Paragraph in openoffice and Co. But the size between are at one line.

Look at OpenOffice: Normaly you use the Style Standard. If you change an Paragraph to (german) Style "Textkörper", you see the different.

Play a little with the stylist in OpenOffice and you will learn a lot of paragraphs and linebreaks.
Post Reply