Headers behaving strange in rich text boxes

Now I took some time to delete all tect from the rich text boxes and re-pasted everything (via notepad to get rid of all formatting) and then applied H2 again and yes, it works. Thank you.

But how is it possible that just by pasting text it gets different css properties like my H2s?
If you could control it I could have use for it since I would like to add spans to my richtextboxes, whish is not supported but somehow I made it anyway with my old H2s…