How do I change the inline styles of django-ckeditor?
Using django-ckeditor==4.4.6
, how can I override the inline cceditor styles.js file to add some fields to the default object styles like the ones listed below?
{
name: 'Styled image (left)',
element: 'img',
attributes: { 'class': 'left', 'margin-right': '1em' }
},
I don't want to directly modify the main styles.js file, but I'm guessing that maybe I can override it using Django's app template inherit / override functionality?
Or can I somehow connect to a js plugin that contains the above style declaration?
+3
source to share
No one has answered this question yet
Check out similar questions: