Export to rtf and html, dinamic editor height