implemented medium editor successfully