There doesn't seem to be any way for the user to select some text and make it into an H1/H2/H3/H4/H5. I'd expect this to work just like the existing B,I, SUP, SUB etc.
There's the Format dropdown, but this rather counterintuitively formats the whole of the text in the editor, not the currently selected text.
Am I missing something or do I need to try & code this myself?
Thanks
Nick
There's the Format dropdown, but this rather counterintuitively formats the whole of the text in the editor, not the currently selected text.
Am I missing something or do I need to try & code this myself?
Thanks
Nick
RE: Make selected text an H1, H2 etc
You could try the style dropdown, but it would generate invalid HTML if your HTML is already formatted, so unless someone comes with a better idea I think that you must code it yourself.
(although for me it doesn't format the whole text, just the current paragraph)
RE: Make selected text an H1, H2 etc
OK, then I *was* missing something. You can type 2 paragraphs and format the first one as a header - that's good enough for me.
Thanks
Nick