Hi,
I've tried to define a class to be applied to a table but it is not being displayed in the dropdown. In fact, if I have 10 lines code set up in the default.js file, and the table style is set up on line 5, everything above line 5 and below line 5 displays in the drop down.
The style I have defined is as follows:
CKEDITOR.stylesSet.add('default',
[
{name:'H1',element:'h1'},
{name:'H2',element:'p',attributes:{'class':'subtitle'}},
{name:'Content List',element:'p',attributes:{'class':'contentList'}},
{name:'Content Table',element:'table',attributes:{'class':'tableContent'}},
{name:'Table Header',element:'tr',attributes:{'class':'tableHeader'}},
{name:'H3',element:'h3'}]);
So lines 6 and 7 ("Content Table" and "Table Header") above are not appearing in the styles drop down.
Is there a reason why?