copied editor from other repo