fix multiple-lines elements
Merge pull request #1241 from evindor/rects

Fix multi-line elements #1138
Ensure editable has at least 1em height
Introducing autoformat