Fixed two small bugs

* resizing the blocks due adding paragraphs around images when
switching between text and visual tabs
* added possibility of adding text after the grid