fixes #3320 The live tab is cut, on edit view of the html page

Fixed the issue and committed code for review, please check it.