Giter Site home page Giter Site logo

barseghyanartur / django-ckeditor-filebrowser-filer Goto Github PK

View Code? Open in Web Editor NEW

This project forked from nephila/django-ckeditor-filebrowser-filer

0.0 3.0 0.0 95 KB

A django-filer based CKEditor filebrowser

License: BSD 3-Clause "New" or "Revised" License

Makefile 3.02% Python 16.65% JavaScript 80.33%

django-ckeditor-filebrowser-filer's Introduction

django-ckeditor-filebrowser-filer

image

A django-filer based CKEditor filebrowser

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.

django-ckeditor-filebrowser-filer's People

Contributors

yakky avatar astagi avatar gasimgasimzada avatar bee-keeper avatar aleray avatar fgmacedo avatar radiac avatar azraelless avatar

Watchers

James Cloos avatar Artur Barseghyan avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.