Modularize editor widgets