editor buttons working