i find out that some content i added to the text editor, has a <span>/<font> containing the text, which makes the heading feature failed.