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!
Format dropdown and enterMode CKEDITOR.ENTER_BR