Loading...
 
Skip to main content

Development


2.0rc2 How to: disable double spacing in WYSIWYG editor

posts: 37

WYSIWYG editor is double spacing everything. I searched the forums and found people saying to switch to normal under style but that doesn't help. Everything I type is double spaced.

Any ideas

I think this is my last issue at this time.

posts: 4673 Japan

I checked the wysiwyg editor in Tikiwiki 2.0rc4 and found the text to be single-spaced but the text could look double-spaced if the stylesheet specifies a large line-height for paragraphs. What theme are you using? You check its setting for p (paragraph) and see if it has a line-height property. If it does you could reduce it. If not maybe you should look at the finished page using the Firebug add-on for Firefox to examine the text properties for some clue.

-- Gary


posts: 37

First off thanks for all your help Gary.

I am using the TikiNeat theme I do not know where to check the "p" setting at please elaborate


posts: 37

Oh also I found that turning the parsing off in the WYSIWYG editor settings helped but I don't know what the down side of turning that off is. It appears that fckeditor defaults to "Titlebar" under the style header. I would like to be able to set the default to normal. I even tried updating fckeditor to it newest beta and it still does it.

So any assistance you can give is greatly appreciated


posts: 37
I upgraded to RC4 and still have the same issue.

posts: 37

Ok

I think I figured this out.

In the WYSIWYG menu uncheck "content is parsed"

Then in the "lib" directory open the "FCKeditor" directory and find the "FCKconfig.js" file open to edit this file and find the lines

FCKConfig.EnterMode = 'p' ;
FCKConfig.ShiftEnterMode = 'br' ;

Now edit these lines to show

FCKConfig.EnterMode = 'br' ;
FCKConfig.ShiftEnterMode = 'p' ;

This resolved the double spacing but what am I losing by not parsing the content? Could you still tell me how to ajust the br\p height?

Thanks