Django – CKEditor (Python Tutorial) (+CodeSnippet)

///Django – CKEditor (Python Tutorial) (+CodeSnippet)

Django – CKEditor (Python Tutorial) (+CodeSnippet)

FavoriteLoadingAdd to favorites

► Django book for beginners:
How to use CKEditor in Django forms with CodeSnippet, Highlightjs and Youtube embedding.

Blog:

Samuli Natri is a programmer who is familiar with several programming languages and technologies including C/C++, OpenGL, Django, Drupal, Python, JavaScript, HTML and CSS. He attended Helsinki University of Technology (Computer Science) and Helsinki University (Social Sciences).

Website:
Github:
Twitter:
Facebook:

source

By |2020-06-01T07:35:51+00:00June 1st, 2020|Python Video Tutorials|39 Comments

39 Comments

  1. Fahad Ali June 1, 2020 at 7:35 am - Reply

    In django special config i can't set width pls slove this problem sir

  2. It's amazing!

  3. Hasan Muzak June 1, 2020 at 7:35 am - Reply

    feels like im watching a documentary…. amazing voice! ^^

  4. Александр Невин June 1, 2020 at 7:35 am - Reply

    YOU ARE AMAZING! I LOVE YOU!

  5. papa mamour Sy June 1, 2020 at 7:35 am - Reply

    thanks man

  6. kiran raj June 1, 2020 at 7:35 am - Reply

    Awesome.Thank you so much

  7. Elias Prado June 1, 2020 at 7:35 am - Reply

    If you are using Django v3 you will find problems where in some cases the text field may desappear. So try to add a "re_path" method in the """"MAIN URL"" like this:

    from django.urls import path, include, re_path
    urlpatterns = [
    path('admin/', admin.site.urls),
    path('blog/', include(('blog.urls', 'blog'), namespace='blog')),
    re_path(r'^ckeditor/', include('ckeditor_uploader.urls')),
    ]

    Good luck

  8. Hyungtae Figur June 1, 2020 at 7:35 am - Reply

    Awesome tutorial!

  9. Loop loop June 1, 2020 at 7:35 am - Reply

    what about flask-ckeditor for code snippet?

  10. NEW SEMOO June 1, 2020 at 7:35 am - Reply

    thanks but how to configure youtube_width and height?

  11. Bill Chan June 1, 2020 at 7:35 am - Reply

    Beautiful voice

  12. saiavinash duddupudi June 1, 2020 at 7:35 am - Reply

    @Samuli, how did u make the text editor appear in the UI, could you please elaborate?

  13. zoro juro June 1, 2020 at 7:35 am - Reply

    I ve been finding this for days. I Tried to lear wagtail also but this wil work for me. Cz i love classical Django. Thanks for the tutorial

  14. Own IT June 1, 2020 at 7:35 am - Reply

    Is there any way to delete the image from the server too if the object is deleted? django-cleanup doesn't work here, or am I doing something wrong? Any help is appreciated.

  15. Yassine June 1, 2020 at 7:35 am - Reply

    Kojima: What took you so long!!!
    CKEditor:

  16. Diego Quiroz Ramirez June 1, 2020 at 7:35 am - Reply

    Un buenisimo video, Gracias por el aporte.

  17. Nguyễn Cảnh June 1, 2020 at 7:35 am - Reply

    Thanks Samuli Natri for the tutorial.

  18. Shankarnag Malla June 1, 2020 at 7:35 am - Reply

    How to add formulas tool..? Please help me.

  19. Shankarnag Malla June 1, 2020 at 7:35 am - Reply

    Really this video saved my day.. Thank you so much.. Keep posting..

  20. Akshat Lal June 1, 2020 at 7:35 am - Reply

    bhai to insaan nhi h bhagwan h bhagwan

  21. pratik roy June 1, 2020 at 7:35 am - Reply

    Awesome information. Keep posting such videos.

  22. CK Leow June 1, 2020 at 7:35 am - Reply

    I try to create a form using Jasper Report that I need to print out a CKeditor contents. May I know how to do that ?.

  23. Talha Kekik June 1, 2020 at 7:35 am - Reply

    Great tutorial.

  24. Nguyễn Cảnh June 1, 2020 at 7:35 am - Reply

    Someone helped me check, I did something wrong. Thanks !!!
    https://stackoverflow.com/q/56994677/11549379

  25. Vineeth Sai June 1, 2020 at 7:35 am - Reply

    Thank you very much for this. I've been struggling with TinyMCE for days until I decided to switch to CKEditor. My advise to you all is to not use TinyMCE as it doesn't quite seamlessly work with Django as CKEditor does.

    Great tutorial man. Thanks !

  26. Vineeth Sai June 1, 2020 at 7:35 am - Reply

    If you are unable to see codesnippet option in browser don't forget to add it in your toolbar config

    {'name': 'basicstyles', 'items': ['Bold', 'Italic', 'Underline', 'CodeSnippet', 'Strike', 'Subscript', 'Superscript', '-', 'RemoveFormat', ]},

  27. Jonathan Warner June 1, 2020 at 7:35 am - Reply

    Hey Samuli, great tutorial. I have one question: I followed your link to github, but which one is the code you used in this tutorial?

  28. Johith Iype June 1, 2020 at 7:35 am - Reply

    Thanks for the tutorial.

    Can I know how to set a default maximum width size for the images that are being uploaded, so they wont go outside my html container.

  29. Manikandan U June 1, 2020 at 7:35 am - Reply

    Thank you so much!

  30. Nicachipal June 1, 2020 at 7:35 am - Reply

    Why am I getting this … <strong>The API</strong>… instead of a bolded text? What am I missing ?  Thank you in advance!

  31. rundown thomas June 1, 2020 at 7:35 am - Reply

    Hey i managed it but the ckeditor doesnt have a list function or numbered list and i wanted to list some stuff

  32. Mario M June 1, 2020 at 7:35 am - Reply

    Awesome! Thanks for this, it was very helpful!

  33. Eduardo Fernández Díaz June 1, 2020 at 7:35 am - Reply

    What's /static/base/js/main.js ? You missed this part

  34. Toochi nkuzi June 1, 2020 at 7:35 am - Reply

    please some should help me. my youtube plugin is not displaying youtube video instead it displays Iframe

  35. Borys Kuczkowski June 1, 2020 at 7:35 am - Reply

    Dear Samuli Natri, thank you for everything here, I added ckeditor to django project along with youtube plugin, on youtube plugin page there is couple of interesting configs (like making youtube videos responsive), I tried to configure it in django without luck, do You do it in CKEDITOR_CONFIGS in settings.py?

  36. Pankaj Mishra June 1, 2020 at 7:35 am - Reply

    On a scale of 1 to 10 how difficult is it, in terms of django ? I can make little more advanced blog with pagination and all. Am I at 4 in a scale of 1 to 10 or below that.

  37. Borys Kuczkowski June 1, 2020 at 7:35 am - Reply

    Is that still valid for ckeditor 5?

  38. Sandeep Prasad Kushwaha June 1, 2020 at 7:35 am - Reply

    how to display certain portion of the post if i am using ckeditor

  39. Amir big June 1, 2020 at 7:35 am - Reply

    you are awesome

Leave A Comment

*