Page 1 of 1
wysiwyg + enter key?
Posted: Fri Dec 02, 2005 2:00 pm
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?
Re: wysiwyg + enter key?
Posted: Sat Dec 03, 2005 12:55 am
by garvinhicking
"Enter" in WYSIWYG editors always means to start a new paragraph. Hit "Shift-Enter" to create a newline instead.
Regards,
Garvin
Posted: Sat Dec 03, 2005 4:41 am
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;
}
wysiwyg + enter key?
Posted: Sat Dec 03, 2005 9:30 pm
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...
Posted: Tue Dec 06, 2005 9:36 am
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.
Posted: Tue Dec 06, 2005 1:06 pm
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.