My client will have need of at least H4. In the text editor, I can add H4 to the ApplyClass menu, but this method applies a
<span class="h4"> Sample </span>
inside the paragraph tag there. My H4 styling, and more importantly the actual weight of a header tag, is not hitting my text.
I've been trying variations of jQuery to addClass or remove/removeClass, but it's not my strong suit so I'm getting a few logic errors (like the Edit Page button is hidden because it is a span). I did see one example with a good answer that was specifically for the precise text in use (replacing a string after stripping out span). Since I want the client to be able to click "H4" when they're editing their content, this answer won't work for me.
No where in the wide wide world of DNN7 does there seem to be a request or need or workaround for not including H4-H6 in the FormatBlock menu where H1-H3 live. argh! Is there a way to add H4 - H6 into the FormatBlock Menu, or a JS/jQ way to actually use the correct header if I use these classes in the ApplyClass Menu?
End result must be client can select H4 from the menu, and their selection will be properly styled and an actual header.