mdedit: added ability to upload files, added properties