Using django-ckeditor==4.4.6
, how can I override the built-in ckeditor styles.js file to add some margins to the default object styles like the one listed below?
{
name: 'Styled image (left)',
element: 'img',
attributes: { 'class': 'left', 'margin-right': '1em' }
},
I don't want to directly modify the core styles.js file, but I'm guessing that maybe I can override it using Django's app template inheritance/override functionality?
Or can I somehow feed in a js plugin that contains the above style declaration?
With "stylesSet"