I added a "span" elemen in format plugin like
"CKEDITOR.config.format_span = { element: 'span', attributes: { 'class': 'article-main-title'} };" and in configration "CKEDITOR.config.format_tags = 'p;span;h1'; ", also added text in lang file and i wrote css in class "article-main-title" .
when i apply span tag on a text through select list it work fine text wrap into "<span class='article-main-title'>" tag .
but when i come into next line using enter then type any text in next line text this time text wrap with same span tag with same style.
In select list there is h1 tag . when i apply h1 tag on a text , then text wrap into h1 tag and when i press enter key for new line h1 tag does not come in new line text.
I want to remove span tag when i come into next line using Enter key.