Closed jiamo closed 3 years ago
replace
{{ ckeditor.load() }}
with
<script src="https://cdn.ckeditor.com/4.16.0/full-all/ckeditor.js"></script>
works fine.
Does this mean we need option full-all
in CKEDITOR_PKG_TYPE
?
I think you are right. According to https://ckeditor.com/cke4/presets-all, the code snippet plugin is only available in the standard-all and full-all versions of the CDN. These 'all' packages are not downloadable, as far as I can see, so we need a mechanism that PKG_TYPE allows standard-all and full-all only when CKEDITOR_SERVE_LOCAL = False. @greyli what do you think?
so we need a mechanism that PKG_TYPE allows standard-all and full-all only when CKEDITOR_SERVE_LOCAL = False
Sounds reasonable, I will make a PR for it.
with CKEDITOR_SERVE_LOCAL = False CKEDITOR_ENABLE_CODESNIPPET = True CKEDITOR_PKG_TYPE = 'full'
It can't get codesnippet default.