in config.js:

config.format_tags = 'p;h1;h2;h3;h4'; has to contain "div"; example: config.format_tags = 'p;h1;h2;h3;div';