Html editor refactoring - use <div> instead of <p>