Skip to main content

A django-filer based CKEditor filebrowser

Project description

Join the Gitter chat Latest PyPI version Python versions License

A django-filer based CKEditor filebrowser

Supported versions

Python: 2.7, 3.4, 3.5, 3.6

Django: 1.8 to 1.11

django-filer: 1.2 and above

Documentation

Original code is taken from django-ckeditor-filer

It supports both ckeditor widget provided by django-ckeditor and the one provided by djangocms-text-ckeditor.

Warning

if you are using filer<1.2 this plugin requires django CMS cmsplugin_filer_image, thus you need to install and configure both according to their respective documentation.

Quickstart

  • Install django-ckeditor-filebrowser-filer:

    pip install django-ckeditor-filebrowser-filer
    
  • Add it to INSTALLED_APPS along with its dependencies:

    'filer',
    'ckeditor_filebrowser_filer',
    
  • Configure django-filer Canonical URLs

  • Add ckeditor_filebrowser_filer to urlconf:

    url(r'^filebrowser_filer/', include('ckeditor_filebrowser_filer.urls')),
    

    Currently only filebrowser_filer/ is supported as url path

  • Add FilerImage button to you CKEditor configuration:

    • Add 'FilerImage' to a toolbar in CKEDITOR_CONFIGS
    • Add 'filerimage' in `` ‘extraPlugins’`` in CKEDITOR_CONFIGS
    • Add 'image' in `` ‘removePlugins’`` in CKEDITOR_CONFIGS

Example:

CKEDITOR_CONFIGS = {
    'default': {
        'toolbar': 'Custom',
        'toolbar_Custom': [
            ...
            ['FilerImage']
        ],
        'extraPlugins': 'filerimage',
        'removePlugins': 'image'
    },
}

when using djangocms-text-ckeditor use CKEDITOR_SETTINGS instead of CKEDITOR_CONFIGS.

History

0.2.5 (2018-03-29)

  • Fixed error when editing an image

0.2.4 (2018-01-09)

  • Fixed filer version detection
  • Added support for Django 1.11

0.2.3 (2017-04-19)

  • Added russian translations

0.2.2 (2017-03-14)

  • Added french translations

0.2.1 (2017-01-01)

  • Added support for Django 1.10

0.2.0 (2016-10-22)

  • Added support for canonical urls feature of filer 1.0
  • Added support to django-ckeditor (without django CMS)
  • Added support to filer up to 1.2
  • Added support to ThumbnailOption
  • Updated to work with djangocms-text-ckeditor 2.7
  • Fixed support for advanced deployment structure

0.1.1 (2014-09-27)

  • Fix static files position

0.1.0 (2014-01-27)

  • First release on PyPI.

Project details


Release history Release notifications

This version
History Node

0.2.5

History Node

0.2.4

History Node

0.2.3

History Node

0.2.2

History Node

0.2.1

History Node

0.2.0

History Node

0.2.0b12

History Node

0.2.0b11

History Node

0.2.0b10

History Node

0.2.0b9

History Node

0.2.0b8

History Node

0.2.0b7

History Node

0.2.0b6

History Node

0.2.0b5

History Node

0.2.0b4

History Node

0.2.0b3

History Node

0.2.0b2

History Node

0.2.0b1

History Node

0.1.1.post1

History Node

0.1.1

History Node

0.1.0

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
django_ckeditor_filebrowser_filer-0.2.5-py2.py3-none-any.whl (32.4 kB) Copy SHA256 hash SHA256 Wheel 2.7 Mar 29, 2018
django-ckeditor-filebrowser-filer-0.2.5.tar.gz (27.4 kB) Copy SHA256 hash SHA256 Source None Mar 29, 2018

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page