Hello,
I want to use <br /> when the user hits enter, so I put this in the config file : config.enterMode = CKEDITOR.ENTER_BR;
But when I want to format some text into a heading (H1,H2 etc.), all the text in the editor is put inside the heading tag. If i use <p> as the enter.Mode, it only applies to the paragraph where the cursor is. (which is ok)
Is there a way to apply a format tag only to the text selection, instead of the whole block element?
If not, how can you use format tags if the enter.Mode is <br />? I'm starting to think that you can't...then why allow this mode in the first place?
thanks for your help!
Thu, 11/05/2009 - 01:19
#1
Re: Format dropdown and enterMode CKEDITOR.ENTER_BR
i'm looking for the same function.
Is there a way to apply a style to a selection instead of a block using the block's styles?
Thanks!
Re: Format dropdown and enterMode CKEDITOR.ENTER_BR
Something like :
Re: Format dropdown and enterMode CKEDITOR.ENTER_BR
Re: Format dropdown and enterMode CKEDITOR.ENTER_BR