

Make a new file custom.js in static/js/tinymce folder and paste the copied content in it and save it. You can choose a paid version also, if you need more functionalities. Now go to Tinymce demo page and choose desired text editor of your choice. Now copy your downloaded Tinymce files and paste them in your project’s static folder.

Note – you can also use Tinymce CDN to integrate tinymce in your django app. Now go to Tinymce download page and download any suitable version for your django app. Now our task is to customize this editor to look good and add more functionalities in it. You will have something like this in your database admin panel:. This will integrate a simple Rich Text Editor in your django application. Url(r'^tinymce/', include('tinymce.urls')),Įdit your models.py file accordingly and introduce an HTMLField() for Rich Text Editor:] from django.db import models Step 2 – Install django-tinymce: pip install django-tinymceĪdd tinymce to INSTALLED_APPS in settings.py for your project: INSTALLED_APPS = (Īdd tinymce.urls to urls.py for your project: urlpatterns = [ Step 1 – Install Django and create a django project and app.
TINYMCE GET PLAIN TEXT HOW TO
How to add Tinymce Editor in Django Project?
