Hello all,
I use ckeditor 4.2.2 within drupal 7.24.
I want to customize unorderd list style. So I modified libraries/ckeditor/styles.js and added following lines at the end of the .js file.
{ name: 'Youth list', element: 'ul', styles: {'border': 'none !important', 'height': 'auto', 'margin': '0px 0px 18px 18px', 'padding': '0px' }, attributes: { 'class': 'meta leftpadding' } }, { name: 'Youth list item', element: 'li', styles: { 'float': 'none', 'margin': '0px' }, attributes: { 'class': 'blacktext icon-caret-right' } }
To apply these style I have to select item, then click on "Insert Bulleted list", then select and apply "Youth list" style from drop down styles list. Then select item by tem in the ul > li element and apply "Youth list item".
So it's not practical if I have a lot of items.
Is there any way to select at once all item and apply a style ?
Is it possible to define styles outside original styles.js file ?
thanks.