CKEDITOR.addStylesSet('my_styles', [ // Block Styles { name: 'Paragraph', element: 'p' }, { name: 'Pull Quote', element: 'div', attributes: { 'class' : 'pull_quote' } } ]);
I created two different styles. One being the typical paragraph, and the other being the Pull Quote wrapped in a div.
After using the Pull Quote style, when I create a new line and switch back to paragraph, the paragraph tag continues to inherit the class="pull_quote" every new paragraph.
I've tried
{ name: 'Paragraph', element: 'p' , attributes: { } }
No dice.