I am using ckeditor in drupal
and add some html tags in it like div and span
but all are converted into <p> at the site
but if I recheck that in ckeditor it showing ok but not on site
and not able set class on tags which has declare in style.css of theme
Any idea
Amit Battan
What input format is on that field? Your site will typically have two input formats unless you’ve changed the default, Full HTML (which is only available to admins) and Filtered HTML. You can view and configure your input formats at /admin/settings/filters/list, by default Filtered HTML only allows:
If you allow
<span>and<div>in the input format you are using, it should work.