helloflask / flask-ckeditor

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

Use custom build ckeditor #16

Closed git-bone closed 5 years ago

git-bone commented 5 years ago

Hi,

I don't understand anymore how to fix this and I'm probably doing something wrong here.

I'm trying to add flask-ckeditor with a custom basic ckeditor with extras (image upload and file manager). I downloaded the zip file and extracted all ckeditor files to /static/ckeditor/.

Now in my config.py I have the following: CKEDITOR_PKG_TYPE = 'basic' CKEDITOR_SERVE_LOCAL = True

that doesn't work. I added this to the template: {{ ckeditor.load(custom_url=url_for('static', filename='ckeditor/ckeditor.js')) }}

still it doesn't show my custom editor. What is the solution?

many thanks!

git-bone commented 5 years ago

nevermind.. suddenly I got it working. Still not clear what was wrong.