Added util method to replace editor contents