helloflask / flask-ckeditor

CKEditor integration for Flask, including image upload, code syntax highlight, and more.
https://flask-ckeditor.readthedocs.io
MIT License
202 stars 67 forks source link

Add configuration CKEDITOR_CONTENTS_CSS #53

Open pdelporte opened 3 years ago

pdelporte commented 3 years ago

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 ?