change from double to single space on editor

Product Management --> description tab --> When click on WYSI editor —> When press enter after each sentence, its double space.

I want single space when I do bullets or number or whenever i press enter. How to make it singel space on editor? The gap between each line is too space. I want zero space in between or single.

Please help!!

6 answers

Profile photo of Saguaros 0.00 $tone July 30, 2012
Public

Hi again,

In the popup when you click on WYSIWYG editor, you could switch to code view by clicking on Show / Hide editor button. By default, when you press enter after each sentence, its generates a <p> tag -- means double space.

#1
Profile photo of Lily Vo 0.00 $tone August 1, 2012
Public

Is there a way to change that default for it to not create <p>? I want by default when double enter then it creates <p>.

Basically when press enter, i want single space without click on show/hide editor.

#2
Profile photo of Lily Vo 0.00 $tone August 1, 2012
Public

If i click on hide/show editor, then I cant use the editor tool. I want single space when do bullets or numbers after each line when press enter.

Please help me change the code on html so that i get single space when press enter after each bullets or lines. Your help is appreciated

#3
Profile photo of Lily Vo 0.00 $tone August 3, 2012
Public

The thing is I need the editor tool. I dont want to disable or delete anything. Like this one here I can
Enter
and It shows single space instead of double space. I hope you can find a code for it that I can change on html or css for the space to be single. I had someone done it before for a JMMorganite template, but I couldnt find the thread anymore.

#5
Profile photo of Saguaros 0.00 $tone August 7, 2012
Public

Hi florinel,

This editor tool comes from core of magento, with my above reply, you only disable it by default and can still use it. I think it’s much easier than hacking in code core of magento.

#6

Please login or Register to Submit Answer

Written By

Comments