[widgets] Reintegrate editor into new UI