All Projects → coremke → django-quill

coremke / django-quill

Licence: BSD-3-Clause license
Easily use Quill.js in your django admin.

Programming Languages

python
139335 projects - #7 most used programming language
javascript
184084 projects - #8 most used programming language
HTML
75241 projects
CSS
56736 projects
Makefile
30231 projects

Projects that are alternatives of or similar to django-quill

django-editorjs-fields
Django plugin for using Editor.js
Stars: ✭ 47 (-12.96%)
Mutual labels:  wysiwyg, django-admin
Ngx Quill Example
demo app for the advanced usage of ngx-quill module
Stars: ✭ 137 (+153.7%)
Mutual labels:  wysiwyg, quilljs
Yii2 Quill
Yii 2 implementation of Quill, modern WYSIWYG editor
Stars: ✭ 52 (-3.7%)
Mutual labels:  wysiwyg, quilljs
Flutter Quill
Rich text editor for Flutter
Stars: ✭ 177 (+227.78%)
Mutual labels:  wysiwyg, quilljs
Ngx Quill
Angular (>=2) components for the Quill Rich Text Editor
Stars: ✭ 1,382 (+2459.26%)
Mutual labels:  wysiwyg, quilljs
Ng Quill
AngularJS Component for Quill rich text editor
Stars: ✭ 223 (+312.96%)
Mutual labels:  wysiwyg, quilljs
wysihtml5-rails
A wysiwyg text editor for use in the Rails asset pipeline
Stars: ✭ 28 (-48.15%)
Mutual labels:  wysiwyg
bangle.dev
Collection of higher level rich text editing tools. It powers the local only note taking app https://bangle.io
Stars: ✭ 541 (+901.85%)
Mutual labels:  wysiwyg
codex-web-app
React frontend for Codex (status: open alpha)
Stars: ✭ 58 (+7.41%)
Mutual labels:  wysiwyg
django-vditor
A WYSIWYG editor plugin made by vditor for django
Stars: ✭ 14 (-74.07%)
Mutual labels:  wysiwyg
phpjasperxml
This is a php wysiwyg report library
Stars: ✭ 37 (-31.48%)
Mutual labels:  wysiwyg
jodit-vue
Vue wrapper for Jodit Editor
Stars: ✭ 60 (+11.11%)
Mutual labels:  wysiwyg
quilljs-rails
Easy integration of Quill rich editor with most Rails forms.
Stars: ✭ 33 (-38.89%)
Mutual labels:  quilljs
tiny-editor
A tiny HTML rich text editor written in vanilla JavaScript
Stars: ✭ 58 (+7.41%)
Mutual labels:  wysiwyg
cazary
jQuery plugin of WYSIWYG editor that aims for fast, lightweight, stylish, customizable, cross-browser, and multi-language.
Stars: ✭ 12 (-77.78%)
Mutual labels:  wysiwyg
blocko
A block-based WYSIWYG editor.
Stars: ✭ 43 (-20.37%)
Mutual labels:  wysiwyg
django-admin-shell
Django/Python shell for django admin site.
Stars: ✭ 62 (+14.81%)
Mutual labels:  django-admin
django-sqlalchemy
Django ORM built on top of SQLalchemy core 2.0 for seamless integration of SQLAlchemy with Django 4.1+ PostgreSQL 14+ only for now. [pre POC now]
Stars: ✭ 101 (+87.04%)
Mutual labels:  django-admin
ngx-quill-lite
A light weight Angular wrapper of Quilljs, powerful rich text editor
Stars: ✭ 20 (-62.96%)
Mutual labels:  quilljs
django-yaaac
Ajax Autocomplete Django application
Stars: ✭ 13 (-75.93%)
Mutual labels:  django-admin

django-quill

Build Status Latest Version

Easily use Quill.js in your django admin.

This project is heavily inspired by django-ckeditor.

Requires django 1.7.

Admin Preview

Quick start

  1. Install the package from pypi

    pip install django-quill
  2. Add "quill" to your INSTALLED_APPS setting like this:

    INSTALLED_APPS = (
        ...
        'quill',
    )

Usage

from django.db import models
from quill.fields import RichTextField


class MyModel(models.Model):
    content = RichTextField()
    content2 = RichTextField(config='basic')

If you want to support image uploads, your admin needs to extend from quill.admin.QuillAdmin:

from quill.admin import QuillAdmin

class MyAdmin(QuillAdmin):
    pass

Customizing

To customize this app, extend apps.QuillConfig and modify whatever you need. For example, to add a new toolbar:

from quill.apps import QuillConfig


class MyQuillConfig(QuillConfig):
    my_toolbar = dict(full, toolbar_template='quill/toolbars/my_toolbar.html')

To customize the extensions of the images that can be uploaded:

from quill.apps import QuillConfig


class MyQuillConfig(QuillConfig):
    allowed_image_extensions = ['jpeg', 'gif']

If you need to call other methods or perform additional actions on the quill editors, they will be available in window.DjangoQuillEditors.

Provided Toolbars

There are two toolbars that come with this package:

  1. Full (default): Provides basic font style and size selection, bold, italics, underline, strikethrough, text color, background color, lists, links, and images.
  2. Basic: Provides bold, italic, underline, lists, and links.

Development

There are several dependencies on npm that are required before building django-quill:

$ npm install

Auto Compile JS

$ make watch

Running Tests

$ make test

Building JS

$ make build

TODO

  1. Better documentation.
  2. More tests.
  3. Better support for using outside of the admin.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].