Hi, I am using tinymce for giving text editor the editing options. The problem its giving me is that if I press 1 enter, it actually ends up with two enters. Example: In editor I tpye " abc abccc" But it ends up as " abc abccc" Does any one know about this?
On 23 Aug 2009, at 03:47, Ritvvij <ritvij.j-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > Hi, > > I am using tinymce for giving text editor the editing options. > The problem its giving me is that if I press 1 enter, it actually ends > up with two enters. > > Example: > > In editor I tpye > " > abc > abccc" > > But it ends up as " > abc > > abccc" > > Does any one know about this?You''ve posted to totally the wrong list but to answer your question: you need to use shift+return to insert a break. Return actually creates a new paragraph which is why you''re seeing an extra line break.>Ben
Oh this is accepted behavior ? On Aug 23, 4:27 am, Ben Lovell <benjamin.lov...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> On 23 Aug 2009, at 03:47, Ritvvij <ritvi...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > > > > > Hi, > > > I am using tinymce for giving text editor the editing options. > > The problem its giving me is that if I press 1 enter, it actually ends > > up with two enters. > > > Example: > > > In editor I tpye > > " > > abc > > abccc" > > > But it ends up as " > > abc > > > abccc" > > > Does any one know about this? > > You''ve posted to totally the wrong list but to answer your question: > you need to use shift+return to insert a break. Return actually > creates a new paragraph which is why you''re seeing an extra line break. > > > > Ben
Ritvvij wrote:> Hi, > > I am using tinymce for giving text editor the editing options. > The problem its giving me is that if I press 1 enter, it actually ends > up with two enters. > > Example: > > In editor I tpye > " > abc > abccc" > > But it ends up as " > abc > > abccc" > > Does any one know about this?Then you need to style your p tags to have a smaller top and bottom border''s/margin''s in your style sheet. Hope that helps -- Posted via http://www.ruby-forum.com/.