Support Forum

TinyMCE Rich Text editor single line spacing

6 Answers

New Answer

MP Mr Papa
Mr Papa
Member

not sure what you mean… do you mean a soft return vs paragraph?  its wysiwg, so a return yields a new paragraph… the spacing of that new paragraph will be determined by your css…  but if you want a soft return, instead of hitting return, hit shift-enter…

FO foxy7
foxy7
Member

It is exactly that normal space I want, when hitting the shift+enter. Is it not possible to make it standard, so I won’t have to hit it every time? If so, a detailed guide would be much appreciated :)

FO foxy7
foxy7
Member

Hmm, just found out that if I add the line “.mceContentBody p {padding:0; margin:0;}” in folder: wp-content > sp-resources > forum-plugins > tinymce-richtext > resources > themes > advanced > skins > o2k7 > content.css

Then it will change to single spacing in the editor. But it will still show with double spacing when posted..

YS Yellow Swordfish
Yellow Swordfish
Member

As Steve pointed out above there is NO double spacing anywhere. These are paragraphs and as such are styled by the CSS being used. As you have found you can adjust the padding that is given to paragraphs in the editor. The padding used for post display can be adjusted in your SP theme CSS. Which SP theme are you using?

FO foxy7
foxy7
Member

I am using the default theme (shades of grey). Can you pinpoint the line that I need to adjust in the theme CSS?

YS Yellow Swordfish
Yellow Swordfish
Member

You need:

#spMainContainer .spTopicPostSection .spPostSection .spPostContentSection .spPostContent p

As always we recommend that you create your own SP theme so that any customisation is not lost during a future update. (http://codex.simple-press.com/codex/themes/theme-basics/creating-a-theme/)