I would like to modify the horizontalrule plugin of ckeditor:
...
exec: function( editor ) {
var hr = editor.document.createElement( 'hr' );
editor.insertElement( hr );
},
allowedContent: 'hr',
requiredContent: 'hr'
};
...
This plugin generates:
<hr />
But I would like to get sg. like:
<hr style="color:#FFF; height:2px;" />
Can anyone help me out how to achieve this?