alohaeditor/Aloha-Editor — pull request #1023 by najor (2013-10-15 10:20:08+00:00)
Title: Header ID not showing when an Heading is created

The solution to the problem is that every time the selection is in Heading, check for ID attribute and if ID doesn't exists, it creates it.