Block pad/unpad when it is inserted in editable log

Block inlines problem
When inserting a block in different paragraphs, it's impossible to position the carte after the inserted block.
Merge pull request #1005 from najor/hotfix-inline-blocks-fixes

Hotfix inline blocks fixes, pad/unpad when inserted.