0.8.20 fix problem ckeditor uploads images
This commit is contained in:
@@ -216,7 +216,7 @@ CKEDITOR_RESTRICT_BY_DATE = False
|
||||
CKEDITOR_RESTRICT_BY_USER = True
|
||||
CKEDITOR_BROWSE_SHOW_DIRS = True
|
||||
|
||||
CKEDITOR_IMAGE_BACKEND = "pillow"
|
||||
CKEDITOR_IMAGE_BACKEND = 'ckeditor_uploader.backends.PillowBackend'
|
||||
|
||||
# CKEDITOR_BROWSE_SHOW_DIRS = True
|
||||
|
||||
@@ -231,6 +231,10 @@ CKEDITOR_CONFIGS = {
|
||||
'toolbar': 'Custom',
|
||||
'forcePasteAsPlainText': True,
|
||||
'allowedContent': True,
|
||||
|
||||
'filebrowserImageThumbWidth': 300,
|
||||
'filebrowserImageThumbHeight': 300,
|
||||
'filebrowserUploadUrl': '/ckeditor/upload/',
|
||||
# 'disallowedContent': 'img{width,height};img[width,height]',
|
||||
# 'extraPlugins': 'image2',
|
||||
|
||||
|
||||
Reference in New Issue
Block a user