If you change the line with SHIFT + ENTER you do not create new paragraphs and the heading will be applied to the whole text.
Use the ENTER only to create a new line (paragraph) and this way it will work as it should.
--
Do you appreciate the support you've received today? If so, consider donating to the Publii team by clicking here; we'll be sure to use your donation to make Publii even better!