add button and ajax to get editor