flask-ckeditor icon indicating copy to clipboard operation
flask-ckeditor copied to clipboard

Add configuration CKEDITOR_CONTENTS_CSS

Open pdelporte opened this issue 3 years ago • 0 comments

Would it be possible to have something like :

app.config['CKEDITOR_CONTENTS_CSS'] = ['/static/bootstrap/css/bootstrap.css','/static/bootstrap/css/theme.css','/static/styles.css']

instead of having to do something like {{ ckeditor.config(name='text', custom_config="contentsCss: ['/static/bootstrap/css/bootstrap.css','/static/bootstrap/css/theme.css','/static/styles.css']") }} in every forms ?

pdelporte avatar May 18 '21 14:05 pdelporte