implemented page editor for html layouts