thanks for your quick reply! This would be a solution. I'm using the CKEditor in Drupal and the config overrules this setting.
A nice solution would be in a method to add an ID or Class name to the LI in the body of the editor. This is possible for body through the api. But i didn't find a solution for a list item.
Re: custom list items in editor
CKEDITOR.editorConfig = function( config ) { config.contentsCss = "yourstyle.css"; };Re: custom list items in editor
This would be a solution. I'm using the CKEditor in Drupal and the config overrules this setting.
A nice solution would be in a method to add an ID or Class name to the LI in the body of the editor.
This is possible for body through the api. But i didn't find a solution for a list item.
suggestions?
Anyone?
Regards,
Chris.
Re: custom list items in editor
Added an id to the body of the editor:
config.bodyId = 'editor';
(ckeditor.config.js file)
then added css like in theme:
#editor li{
...
}
#editor p{
...
}
Re: custom list items in editor