如何在Django中将CKEditor js库降级到4.6.2版本?

时间:2019-01-11 14:49:59

标签: django django-ckeditor

我需要旧样式的“粘贴”对话框。如何使用CKEditor库4.6.2? 我正在使用Django 2.1。 当我安装django_ckeditor 5.2.2时,出现错误ModuleNotFoundError: No module named 'django.core.urlresolvers'

2 个答案:

答案 0 :(得分:0)

尝试使用pip install django-ckeditor==3.6.2

安装

https://github.com/django-ckeditor/django-ckeditor/releases/tag/3.6.2.1

答案 1 :(得分:0)

您可以在此处下载4.6.2版(或指向它的链接):cdn.ckeditor.com/4.6.2/standard/ckeditor.js,如果需要完整版,则链接为cdn.ckeditor.com/4.6.2/full/ckeditor.js,如果需要基本版,则链接为{{ 1}}。

在github上,您可以在这里找到所有标记的版本:https://github.com/ckeditor/ckeditor-releases

之后,您可以像这样链接您的首选版本:
cdn.ckeditor.com/4.6.2/basic/ckeditor.js