{"id":17172869,"url":"https://github.com/20tab/twentytab-cked","last_synced_at":"2025-03-24T20:22:44.917Z","repository":{"id":16337409,"uuid":"19087109","full_name":"20tab/twentytab-cked","owner":"20tab","description":"It's a fork of django-cked","archived":false,"fork":false,"pushed_at":"2014-12-09T15:52:37.000Z","size":1380,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-04T07:05:52.995Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/20tab.png","metadata":{"files":{"readme":"README.rst","changelog":"CHANGES","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-04-23T22:00:47.000Z","updated_at":"2017-04-06T17:19:45.000Z","dependencies_parsed_at":"2022-09-15T03:27:23.281Z","dependency_job_id":null,"html_url":"https://github.com/20tab/twentytab-cked","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/20tab%2Ftwentytab-cked","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/20tab%2Ftwentytab-cked/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/20tab%2Ftwentytab-cked/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/20tab%2Ftwentytab-cked/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/20tab","download_url":"https://codeload.github.com/20tab/twentytab-cked/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245344374,"owners_count":20599941,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-14T23:48:29.286Z","updated_at":"2025-03-24T20:22:44.883Z","avatar_url":"https://github.com/20tab.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"Django CKEd\n===========\n\nA django application that use django-cked as texteditor. It update RichTextField with config parameter\n\nFor more informations about django-cked follow this link: https://bitbucket.org/ssbb/django-cked/overview\n\n**IMPORTANT! The application is no longer supported. Please do not use it!\n\n**CKEditor and elFinder integration for Django Framework.**\n\nProvides a ``RichTextField`` and ``CKEditorWidget`` with upload and\nbrowse support.\n\n|CKEditor| |elFinder|\n\nInstallation\n------------\n\n::\n\n    pip install twentytab-cked\n\n\nConfiguration\n-------------\n\nAdd ``cked`` to your ``INSTALLED_APPS`` setting.\n\nThen set ``ELFINDER_OPTIONS`` in your settings:\n\n::\n\n    ELFINDER_OPTIONS = {\n        ## required options\n        'root': os.path.join(PROJECT_ROOT, 'media', 'uploads'),\n        'URL': '/media/uploads/',\n    }\n\nAnd add CKEd URL include to your project ``urls.py`` file:\n\n::\n\n    url(r'^cked/', include('cked.urls')),\n\nSettings\n--------\n\n-  **CKEDITOR\\_OPTIONS**: CKEditor config. See\n   http://docs.ckeditor.com/#!/guide/dev_configuration\n-  **ELFINDER\\_OPTIONS**: elFinder config. See\n   https://github.com/Studio-42/elFinder/wiki/Client-configuration-options\n\nUsage\n-----\n\nModel field\n~~~~~~~~~~~\n\n::\n\n    from django.db import models\n    from cked.fields import RichTextField\n\n    EASY_CKE = {\n        'height': 200,\n        'width':400,\n        'enterMode': 2, #Remove the default \u003cp\u003e tag around text\n        'forcePasteAsPlainText': True,\n        'toolbar': [['Bold', 'Italic', 'Underline', '-',\n                     'JustifyLeft', 'JustifyCenter', 'JustifyRight',\n                     'JustifyBlock', '-', 'Link', 'Unlink', '-', 'Source']],\n    }\n\n    class Entry(models.Model):\n        text = RichTextField(config=EASY_CKE)\n\nWidget\n~~~~~~\n\n::\n\n    from django import forms\n    from cked.widgets import CKEditorWidget\n\n    class MyForm(forms.Form):\n        text = forms.CharField(widget=CKEditorWidget)\n\n**NOTE**: If you are using custom forms, dont’r forget to include form\nmedia to your template:\n\n::\n\n    {{ form.media }}\n\n.. |CKEditor| image:: https://bitbucket.org/ssbb/django-cked/raw/default/img/ckeditor.jpg\n.. |elFinder| image:: https://bitbucket.org/ssbb/django-cked/raw/default/img/elfinder.jpg\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F20tab%2Ftwentytab-cked","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F20tab%2Ftwentytab-cked","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F20tab%2Ftwentytab-cked/lists"}