Closed skwzrd closed 1 week ago
Not sure this helps you but maybe it will help someone else but if you want to bundle your own ckeditor by adding more plugins then you need to load the ckeditor from static like this:
{{ ckeditor.load(custom_url=url_for('static', filename='ckeditor/ckeditor.js')) }}
but you also need to pack the assets yourself if you download the unoptimized version.
Fixed in the 1.0.0 version, please try to update it with:
pip install -U flask-ckeditor
Thanks!
Where should the CKEditor standard bundle go? The only way I've gotten this Flask extension to work (without inserting my own \<script>s and \<link>s into HTML) is by editing the source code to
and placing the standard bundle in
/static/
. i.e./static/standard/ckeditor.js
,static/standard/plugins/
, etc.I've tried placing the bundle in virtually every folder. What's really weird is, despite the bundle being present in a certain directory, the request for a resource will 404.