Questions tagged [djangocms-text-ckeditor]

32 questions
4
votes
1 answer

How to use iframes in django-cms

I am looking for a good solution to make it possible for endusers to insert iframes (Soundcloud) in a template placeholder. I thought about using the djangocms-txt-ckeditor plugin. In it documentation it says to use the configurable sanitizer to…
4
votes
1 answer

Add custom button to django cms ckeditor

I want to add some additional buttons to django-cms-ckeditor, so I read manual and add plugin to ckeditor folder and config.js, after that I saw them from sample html of cKeditor. But I can't make that button appear in django cms editing window. I…
vZ10
  • 2,468
  • 2
  • 23
  • 33
3
votes
1 answer

Module 'html5lib.filters.sanitizer' has no attribute 'allowed_elements'

I am not able to add any content in the page it is throwing the error AttributeError at /en/admin/cms/page/add-plugin/ module 'html5lib.filters.sanitizer' has no attribute 'allowed_elements'
Maruthesh
  • 213
  • 3
  • 16
3
votes
4 answers

CKEditor Link input not working in modal

I've got a project in which I use a modal with a form and a ckeditor and the Link input doesn't work. Here's a fiddle that recreates this problem: http://jsfiddle.net/8t882a2s/3/ And the code of this example. HTML:
3
votes
1 answer

django cms AttributeError: 'NoneType' object has no attribute '_inc_path' when trying to put manually plugin with ckeditor on blog article

I looked for it for a while without being able to find a single solution. And I am using nephila django-cms blog. Thus when I edit an article content with ckeditor I can select my youtube plugin and add it. 10% of the time it works. Lol. The rest of…
Jay Cee
  • 1,855
  • 5
  • 28
  • 48
2
votes
0 answers

How to use a placeholder inside Django CMS Plugin?

cms_plugin.py @plugin_pool.register_plugin class CarouselPlugin(CMSPluginBase): name = _("Carousel") model = CarouselPluginModel exclude = ['slides'] inlines = [CarouselSlideInline] render_template =…
2
votes
1 answer

Django CMS how to blog post

I am learning Django-CMS but I am now extremely good at django. I am not getting how to post through djang-CMS, I have created some pages on Django-cms, just going through menu creation, template, etc. But I couldn't find any menu or option to post…
user12379817
2
votes
1 answer

Cannot select Image File using djangocms-filer

I hope someone can help out with this one. I have been using djangocms to build a simple frontend centric website for a client so they can maintain their own content. There is nothing fancy in this setup. Just a few template.html files, a little…
cander
  • 279
  • 6
  • 14
2
votes
0 answers

Python dependency issues with Django on Docker

Im new to Docker and im having troubles porting my already existing and working Django project to Docker and im pretty much stuck right now since the issue is with the dependencies in my requirements.txt that are frozen and actually are working on…
J4ckN1x
  • 73
  • 1
  • 5
2
votes
1 answer

Django cms text editor (CKEditor) addons

Trying to get the font addon working with the django cms text editor. I have added the addon folder to both .../djangocms_text_ckeditor/static/djangocms_text_ckeditor/ckeditor_plugins and…
Philippe Fisher
  • 586
  • 7
  • 28
1
vote
0 answers

how to add external js in HTMLField of djangocms_text_ckeditor

I am using the djangocms in my project and I wanted to have some custom changes for that I need to add some js and css files in HTMLField of the djangocms_text_ckeditor. I found the documentation for adding the css links in the setting.py, which is…
1
vote
1 answer

Django cms remove href attribute from Textplugin

Currently I am working with Django-CMS & trying to add below code in Text Plugin. Click me! But Django-CMS automatically removes the href attribute from text plugin and after save Text plugin has…
Moon
  • 4,014
  • 3
  • 30
  • 66
1
vote
1 answer

Django CMS Link - AttributeError 'Page' object has no attribute 'site'

I am able to add link through djagnocms_link. But when I double click on that link for edit It throws me this error - [AttributeError 'Page' object has no attribute 'site'] inside ckeditor. And interestingly it's only happens when I try to add link…
1
vote
1 answer

django-cms_text_ckeditor error of static loading with Amazon S3 static storage

After deploying django + django-cms project on server using amazon S3 (STATICFILES_STORAGE = 'storages.backends.s3boto3.S3Boto3Storage' ), static files not loading for django-cms_text_ckeditor, bundle of ckeditor is trying to load static from local…
1
vote
0 answers

djangocms_text_ckeditor not working on Google chrome

I have install Django Cms by hand using this tutorial http://docs.django-cms.org/en/release-3.4.x/how_to/install.html. However, for some reason I can't add or edit text when using Google Chrome. On Firefox and Safari I can do it. console JS errors
Browning
  • 11
  • 2
1
2 3