let the xheditor adjust the page