Align only applies to the selected paragraphs.

When selecting several paragraphs and these paragraphs are wrapped in a non-editable block element, the align style is set into the block element instead of the paragraphs. With these changes the align style is only applied to the selected block elements.