Questions tagged [django-ckeditor]

django-ckeditor is a pluggable django app that integrates ckeditor into django admin

django-ckeditor is a pluggable django app that integrates into django admin.

169 questions
10
votes
2 answers

How to remove images uploaded with django-ckeditor?

I have uploaded some images within the CKEditor in the Django admin interface. I can browse and select images by clicking the "Image" button in the editor, and then click "Browse Server" in the window that pops up. Here is a screenshot of the…
Jaap Joris Vens
  • 3,382
  • 2
  • 26
  • 42
9
votes
2 answers

How to set the maximum image size to upload image in django-ckeditor?

I am using django-ckeditor for my project to upload image along with text content. I used body = RichTextUploadingField(blank=True, null=True) in model. Now I want to restrict the user to upload large size images in content or larger than predefined…
8
votes
1 answer

CKEditor shows me html code

I tried to use the CKEeditor for my django project but when i add a new item which uses this editor, I see the html code. I used it like this : My model : class Article(models.Model): title = models.CharField(max_length=100, unique=True) …
Juanwolf
  • 840
  • 9
  • 19
5
votes
2 answers

Absolute paths on images uploaded by django-ckeditor

I am using django-rest-framework in conjuntion with django-ckeditor. I'm serving some images with absolute url-s without any problem. But images and files uploaded by ckeditor are served as relative paths, and they can't be displayed client side…
cor
  • 3,323
  • 25
  • 46
5
votes
3 answers

Django-CKEditor Image Upload

I've currently installed Django-CKEditor and have my own custom toolbar. I'm struggling to find how to enable image uploading. When clicking the Image button, I can only upload via URL. I know that, in the plugin, there are views to handle file…
tsurantino
  • 1,027
  • 13
  • 27
4
votes
2 answers

Django-ckeditor Error code: exportpdf-no-token-url

I try to add ckeditor 6.1 to my form allow user to post an article. I followed a video on youtube to install and setting, I successfully add a new post using ckeditor in django admin page. But in html page, the richtext field shows but with below…
4
votes
2 answers

is there a way to add new skin in django-ckeditor?

I'm trying to add new skin in django-ckeditor but its doesnt work and it shows a blank screen in django-admin I have installed the kama skin and extracted in static\ckeditor\ckeditor\skins\kama but doesnt seem to work. Below im showing my ckeditor…
4
votes
2 answers

ckeditor_uploader Dynamic Image Upload Path

I have a Django application that requires users to upload multiple images per document. The application has django-ckeditor installed, but the uploaded images end up in the same folder set by the CKEDITOR_UPLOAD_PATH setting. I would like the path…
chirinosky
  • 4,438
  • 1
  • 28
  • 39
4
votes
1 answer

With Django CKeditor, how to load different toolbars on different fields?

I'm using the django CKeditor plugin. My config is as follows: CKEDITOR_CONFIGS = { 'default': { 'skin': 'moono', #'office2013' 'toolbar': 'Custom', #selects from below 'toolbar_Custom': [ ['Bold', 'Italic', 'Underline',…
Joris de Ruiter
  • 178
  • 1
  • 6
4
votes
4 answers

Can't customize django ckeditor toolbar

I installed django-ckeditor==4.4.8 on django1.6 But I get a minimum of buttons in the toolbar, I tried to change the toolbar to get more options, specially to be able to add pictures this is what I get: and these are my settings: #ckeditor…
Armance
  • 5,350
  • 14
  • 57
  • 80
4
votes
1 answer

How to modify django-ckeditor inline styles?

Using django-ckeditor==4.4.6, how can I override the built-in ckeditor styles.js file to add some margins to the default object styles like the one listed below? { name: 'Styled image (left)', element: 'img', attributes: { 'class': 'left',…
Dan Gayle
  • 2,277
  • 1
  • 24
  • 38
4
votes
5 answers

Django-CKEditor with normal Django Forms and bootstrap

I'm new to Django and CKEditor and had been struggling with integration of Django-CKEditor in forms from past 1 week. It works perfectly fine in Django Admin forms but does not work in normal forms. This is my forms.py class…
vaibhav1312
  • 863
  • 4
  • 13
  • 31
3
votes
1 answer

Django Ckeditor Save incomplete data from richtextfield to cookies or server

The title, in my opinion, is self-explanatory. Basically let’s say a user if filling out an ckeditor richtextfield like so: #app/models.py from django.db import models from ckeditor.fields import RichTextField class App_Model(models.Model): …
user15292841
3
votes
2 answers

Django ckeditor upload image link expires after some hours

I am using Django-storages for storing static content in the cloud and CKEditor for a text editor and used a RichTextUploadingField field. The problem is when I upload an image via CKEditor, the image link expires after some hours. The below image…
Ashwani Shakya
  • 419
  • 4
  • 11
3
votes
1 answer

How to use two ckeditor in same template in Django?

I am trying to develop a ckeditor comment box in Django. I successfully added the comment box. But now I am facing the issue in editing the comment part. What I am trying to do is when the user click on the edit button near to the comment, a modal…
Lijin
  • 141
  • 1
  • 12
1
2 3
11 12