Use switch-case instead of if-statement for setting content type.
Add styling for tinymce formats.
Add more formats; remove alignment formats.