Faster WYSIWYG editing for attachments