175 questions
-1
votes
1
answer
40
views
django-ckeditor5 showing question mark instead of symbols
hi recently i switched to django-ckeditor5 and in the HTML code I'm using this -
my_project/
│── manage.py
│── my_project/
│── app/
│ │── models.py
...
...
but after saving code it is ...
1
vote
1
answer
93
views
Django-CKEditor5 Source Editing Feature Doesn't Work
I am using Django CKEditor5 in my admin panel. When I'm trying to insert a html code using "Source Edit" feature,
it doesn't apply any style and transforms automatically after clicking &...
1
vote
1
answer
124
views
Image upload problem in django-ckeditor-5
I use django-ckeditor-5 in my Django project
These are my ckeditor settings in settings.py
CKEDITOR_5_CONFIGS = {
'extends': {
'blockToolbar': [
'paragraph', 'heading1', '...
1
vote
0
answers
41
views
Retrieve data from CKEditor using ajax to not cause the page to reload*
Here is my code first:
forms code from product.html:
...
{% comment %} Review Form Start`` {% endcomment %}
<div class="container">
<section class="review-section col-12 mt-4&...
0
votes
1
answer
86
views
Half space in django CKEditor
I am developing a website that requires an advanced text editor for Persian, and I have used CKEditor.
When I copy text from Microsoft Word and paste it into CKEditor, it does not paste all the half ...
1
vote
1
answer
154
views
Is there a way to browse, manage and explore media/user uploads along with django-ckeditor-5?
I have installed and configured ckeditor using pip install django-ckeditor-5==0.2.13
Afterwards, i am able to configure a model with field content = CKEditor5Field("content")
I have also ...
1
vote
0
answers
58
views
django-ckeditor: html template doesn't render my ckeditor content properly although I am using {{ content | safe }}
I am using the django-ckeditor plugin to implement a ckeditor field in my django website. I have an updateView where you can edit the "notes" attribute of a model called Server. The ckeditor ...
0
votes
2
answers
753
views
django-ckeditor-5 unable to upload file on local and not showing preview of youtube link
I successfully display the ckeditor5 using django-ckeditor-5 package, but not able to upload images and not able to show youtube video on the result page.
Here is what I get errors on backend console ...
-1
votes
1
answer
308
views
How can I add customized CSS styles to django-ckeditor editor?
I wanna be able to add customized CSS styles that I've already defined on my CSS files. I read the documentation here and here, but it just does not work.
**django-ckeditor version **
django-ckeditor ...
0
votes
1
answer
672
views
full toolbar in django-ckeditor-5
i cant use full toolbar in django-ckeditor-5
in ckeditor-4 use:
CKEDITOR_CONFIGS = {
'default': {
'toolbar': 'full',
},
}
But in version 5, this method does not work
please help me
...
0
votes
1
answer
188
views
Add external plugin using django-ckeditor
I'm trying to install this details plugin for CKEditor 4, using django-ckeditor. I can't find a syntax that makes the button appear for me.
I've put the plugin folder at /static/js/lib/ckeditor-...
0
votes
1
answer
62
views
How can I render a {{}} variable in CKEditor in a Django template?
The variables that I put in Django-ckeditor are not displayed correctly. Is there a way to do it?
enter image description here
I used autoescape and safe .
{% autoescape off %}
{{ msg }}
{% ...
0
votes
1
answer
79
views
Text is going out of the container and it's appearing in just one line and goes out of the page
I am trying to add some texts to my project-details section using a rich text uploading field in Django admin. There it should be in a paragraph as I have added them in my Django admin project ...
1
vote
1
answer
381
views
Ckeditor - RichTextField in Template doesn't work - Django
I am trying to display the RichTextField in a Django Template. In the Admin Panel it works but not in the template.
My Template called create.html:
{% block main %}
<div class="blocker&...
0
votes
0
answers
360
views
Ckeditor Image Properties how to modify this tab
I am trying to customize the Image Properties section of CKEditor, but I don't know where to access the properties to modify it.
I refer to this screen here:
The changes I seek are:
make Upload ...
0
votes
1
answer
143
views
CKEDITOR PillowBackend Django disable thumbnail creation
By default, when inserting an image from the clipboard into the CKEDITOR editor, the images are saved in PNG format and take up a lot of disk space. I have enabled PillowBackend to be able to save ...
0
votes
1
answer
193
views
how can i do "removeEmptyTag:False" in django-ckeditor in settings.py
source
<div class="icon-lg text-white m-b15"><i class="flaticon-fuel-station"></i></div>
output
<div class="icon-lg text-white m-b15">&...
0
votes
1
answer
174
views
How to dynamically create upload path for media files django-ckeditor?
I am using RichTextUploadingField in my model.
I have set upload path to CKEDITOR_UPLOAD_PATH = "uploads/"
I use this field when I am on path:
path("<slug:p_slug>/<slug:m_slug&...
0
votes
0
answers
228
views
Is there a way to resize the image height and width posted by django-CKeditor?
Edit: Noone is answering this problem it seems. I'm editing in the hopes for this to reach out to other peoples.
I'm using django 6.5.1 as of creating this project. I am unable to make the resize ...
0
votes
1
answer
377
views
DJANGO ck-editor
In Django CK-EDITOR I am getting a whole black background type window when trying to upload the image .
How Can I solve this ? Like I cant see anything here . I tried adding different kinds of skins ...
2
votes
2
answers
1k
views
how to add custom templates in django-ckeditor in django
I am trying to use the Templates feature of the CKEditor in Django and I want to add some custom templates in the list. I've used this approach. I've tried editing
myvenv\Lib\site-packages\ckeditor\...
1
vote
0
answers
156
views
How can I add Bootstrap class or css in the Ckeditor at Django for responsive?
I've taken RichTextField from CKEditor. But problem is, that the field is not responsive. It shows perfectly on the big screen but not on the mobile screen or the small screen. How can I responsive ...
1
vote
1
answer
947
views
How will I add css with Django Ckeditor?
I used django-ckeditor, It's working perfectly. But problem is, I couldn't add CSS. Even it ruined the template design. Even jQuery also not working in template. I actually would like to responsive ...
0
votes
1
answer
343
views
Django-ckeditor: editor-element-conflict
Django-ckeditor in for loop shows correctly only for the first iteration. For the remaining iterations, the default template form appears as shown below. I see element conflict error in the ...
0
votes
1
answer
990
views
Upload image to S3 bucket with django-ckeditor
I have got an Article model with "content" textarea
I decided to replace this textarea(i needed an option to insert images inside form) with CK-Editor so I used django-ckeditor package
So ...
0
votes
1
answer
162
views
Django ckeditor is removing space around <a> tags
I'm using django-ckeditor with this config:
'enterMode': 2,
'forceEnterMode': 'true',
'basicEntities': 'false',
'fillEmptyBlocks': 'false',
'tabSpaces'...
0
votes
1
answer
1k
views
Django: how to add ckeditor plugins to my project using django
i want to add some plugins to my ckeditor django, i have installed the package using pip, installed it in settings.py and it's working now, but i want to add some more buttons to the ckeditor as all ...
0
votes
0
answers
186
views
Django Ckeditor image not showing after 1 hour in production with amazon s3 bucket
Django ckeditor image shows perfectly on local machine but not display in production with s3 bucket after 1 hour. Make s3 bucket public. But didn't solve yet. Settings are
DEFAULT_FILE_STORAGE = '...
2
votes
1
answer
2k
views
Add css style to django ckeditor
I'm using django ckeditor
I can add and edit HTML tags, but can't add CSS styles
Is there any way to add CSS style to the content?
0
votes
1
answer
394
views
DjangoCKEditor Configuration Fully Enabled
I am using djangocms-text-ckeditor on a couple of my sites.
On one of them, I have the following in base.py
CKEDITOR_SETTINGS = {
'language': '{{ language }}',
'toolbar': 'full',
'...
0
votes
1
answer
330
views
Does django-ckeditor works with django-modeltranslation
I use django-modeltranslation to translate some text fields into several languagues. This works well. Now I want to implement django-ckeditor and this is working for not translated field as well. ...
0
votes
1
answer
914
views
Add html tag and style on CKEditor Textarea
I'm using django ckeditor, is it possible to add html and css on textarea? Something like this:
0
votes
1
answer
1k
views
django-ckeditor {{ form.media }} not working in html
I am trying to get ck-editor look from forms.py .
After reading docs and even on YouTube, I didn't get my desired result.
I am sharing my different file.
Please solve this.
HTML FILE
<form ...
1
vote
1
answer
991
views
How to resize django ckeditor according to the window size?
I am going to add a Django CKEditor to my form but it is not resized when I resize my window size. Please help me to fix it.
models.py
from ckeditor.fields import RichTextField
Body = RichTextField()
...
0
votes
1
answer
317
views
Ckeditor how to change button text
My django site uses the image upload feature. I want to change the send it to the server button text to upload
I have checked what seems like every source file but I cannot filed a reference to button....
0
votes
0
answers
129
views
Cannot integrate 'ckeditor_wiris' plugin into django-ckeditor in custom toolbar configuration
I am using django to make a science related blog site where I am using django-ckeditor as the richtext editor. I encountered the following problem:
I am trying to integrate the 'ckeditor_wiris' ...
1
vote
0
answers
452
views
Django CKEditor add YouTube plugin
I was trying to find answer for my question, but still couldn't figure it out.
I have my model with field:
description = RichTextUploadingField(verbose_name='Description', config_name='special')
In ...
1
vote
2
answers
379
views
Django CKEditor Background Color
I'm using django ckeditor, and when i click any button (for example: iframe button), the background color is black so its hard to see and edit
Here is my code for django ckeditor config
...
1
vote
1
answer
4k
views
React Native Render HTML bullet list is not centered with text
I'm using react-native-render-html library to display data from Django Rest Framework stored in RichTextUploadingField from django-ckeditor. As basic styling is working properly I have a problem with ...
1
vote
0
answers
159
views
Why ListStyle plugin doesn't show up in my CKEditor in Django website?
As seen here, I have two more extraPlugins, which do show up on the Website. The problem is liststyle only. Am I supposed to add anything to the toolbar list? 'NumberedList' and 'BulletedList' are ...
0
votes
2
answers
783
views
Failed to fetch content for the given url - Django CKEditor on Heroku
I am using Django-CKEditor as a rich text editor for one of my applications.
The problem is with the Media Embed plugin on Heroku.
When I insert any URL in the Media Embed option it works fine in my ...
1
vote
4
answers
3k
views
ModuleNotFoundError: No module named 'ckeditor', how do i solve this?
I have ckeditor installed inside venv. In my setting, I also added ckeditor and ckeditor_uploader in my setting. I also added to requirements.txt. But nothing seems to be working. Still getting the ...
1
vote
1
answer
119
views
Hamburger getting outside of mobile width due to ckeditor form . What to do?
I am new to django. I am trying to build blog website.
On laptop create new post is perfectly visible like below.
On laptop create new post
But when i view it with mobile view hamburger got extended ...
1
vote
0
answers
342
views
how to change language in django-ckeditor-5
hello I'm working on a django project.
I want to change language of django-ckeditor-5 How should I do this?
and is django-ckeditor-5 package same as django-ckeditor package ?
5
votes
2
answers
8k
views
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 ...
0
votes
1
answer
319
views
Django/CKEditor/Javascript Issue including text in textarea
I'm working on a forum with Django that allows users to reply to each other (and quotes the original user). This works perfectly when I do a first reply (I'm using a one line javascript that updates ...
3
votes
4
answers
2k
views
Django CKEditor - youtube embeded video disappear after saving at admin panel
There is no problem with uploading. But when I lookup to the article for editing then I can't see youtube video
Before saving:
After Saving:
But actually the iframe block at there. The problem is I ...
2
votes
4
answers
726
views
How to disable inline labels in django inline admin?
In my Django admin, I want to disable the below-shown paragraph. Please help me out. I am new to changing djano admin.
Link to Image
Here is my current admin.py
class ImageInlineAdmin(admin....
1
vote
1
answer
834
views
django-ckeditor change upload path prefix
I want to change the prefix of upload path in django-ckeditor. By default it generates subdirectories by using username and date so something like:
/media/uploads/username/year/month/day/uploaded_file
...
1
vote
0
answers
178
views
Django Changes in env lib site-packages don't apply
I meet a problem with a package : django-ckeditor. I have installed it with pip in my venv.
And now I want to add just 1 or 2 modifications in the views file of ckeditor.
The problem is : anything I ...