I'd like to add a customization to my HTML Editor so the Heading option inserts extra code to add a hr.
For instance, when you select a text to act as heading html editor inserts <h1> and </h1> I'd like to insert after </h1> a <hr> tag
Example:
Caption
<h1>Caption</h1>Caption
<h1>Caption</h1><hr>
It would be usefull for us because they want teachers to maintain some kind of similarity between courses. This way everybody would have <hr> by default so they cannot just say: "Oops, I've forgotten"
The problem is that i can't find the piece of Javascript that inserts <h1> and </h1> to add my <hr>.
Any help?
Thanks!