settings: options for text editor and let host use x forwarded
Signed-off-by: rscnt <rascnt@gmail.com>
This commit is contained in:
parent
9fe61554a7
commit
de74539fa6
2 changed files with 7 additions and 1 deletions
|
@ -316,7 +316,9 @@ THUMBNAIL_PROCESSORS = (
|
||||||
|
|
||||||
# django-cms-text-ckeditor
|
# django-cms-text-ckeditor
|
||||||
TEXT_SAVE_IMAGE_FUNCTION='cmsplugin_filer_image.integrations.ckeditor.create_image_plugin'
|
TEXT_SAVE_IMAGE_FUNCTION='cmsplugin_filer_image.integrations.ckeditor.create_image_plugin'
|
||||||
|
TEXT_ADDITIONAL_TAGS = ('iframe',)
|
||||||
|
TEXT_ADDITIONAL_ATTRIBUTES = ('scrolling', 'allowfullscreen', 'frameborder')
|
||||||
|
USE_X_FORWARDED_HOST = True
|
||||||
try:
|
try:
|
||||||
from .local.local_settings import *
|
from .local.local_settings import *
|
||||||
except ImportError as e:
|
except ImportError as e:
|
||||||
|
|
|
@ -397,3 +397,7 @@ body {
|
||||||
.text-center {
|
.text-center {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.blog-content img {
|
||||||
|
width: 100%;
|
||||||
|
}
|
Loading…
Reference in a new issue