Loading
- The data should be loaded with:
- four paragraphs each with different text-alignemnt set,
- two first paragraphs should be aligned to left,
- third paragraph should be centered,
- fourth paragraph should be justified,
- an image with caption between first and second paragraphs.
- Toolbar should have only two buttons for alignment control: center and justify.
Testing
"Center" alignment button:
- should be highlighted only in third paragraph,
- should enable/disable center alignment on any paragraph.
"Justify" alignment button should be:
- highlighted only in third paragraph,
- should enable/disable justify alignment on any paragraph.