{ "info": { "author": "Luc Jean", "author_email": "ljean@apidev.fr", "bugtrack_url": null, "classifiers": [], "description": "coop HTML Editor\n===============================================\n\n* `What is coop_html_editor good for?`_\n* `Quick start`_\n* `Settings`_\n\n.. _What is coop_html_editor good for?: #good-for\n.. _Quick start?: #quick-start\n.. _Settings?: #settings\n\n.. _good-for:\n\nWhat is coop_html_editor good for?\n------------------------------------\ncoop_html_editor is a backend for using inline HTML editor into a Django site.\nIt enables inline editing for your HTML content.\nIt includes a django Form and a Widget helper.\nIt supports Aloha Editor and CK Editor\n\n.. _quick-start:\n\nQuick start\n------------------------------------\nIn settings.py, add 'coop_html_editor' to the INSTALLED_APPS\nIn urls.py add ``(r'^html-editor/', include('coop_html_editor.urls'))`` to your urlpatterns\n\nThen create a form. For example something like ::\n\n import floppyforms.__future__ as floppyforms\n from models import Note\n from coop_html_editor.widgets import get_inline_html_widget\n \n class NoteForm(floppyforms.ModelForm):\n class Meta:\n model = Note\n fields = ('text',)\n widgets = {\n 'text': get_inline_html_widget(),\n }\n\n\nLet's assume that you've a ``form`` variable pointing on an instance of a NoteForm.\nIn the template file, call the form and don't forget to put ``{{form.media}}`` in the headers.\n\n.. _settings:\n\nSettings\n------------------------------------\n\nThe following constants can be set in your django project settings.py\n\nYou can choose between 2 HTML editors : Aloha editor or CkEditor. We recommend to use CkEditor but keep Aloha by default\nfor compatibility. Add one the 2 lines below in your settings.py\n\nIn settings::\n\n COOP_HTML_EDITOR = 'aloha'\n COOP_HTML_EDITOR = 'ck-editor'\n\nYou can tune your editor by changing the settings below. The values in this README correspond to defaults\n\nFor both, we package a default version than can be overriden by copying your own version folder in ste static files\nand define the new version by\n\nIn settings::\n\n ALOHA_VERSION = \"aloha.0.23.26\"\n CKEDITOR_VERSION = \"ckeditor.4.6.2\"\n\nThe initialisation code of the editor is set in a javascript file. You can change the file to use by seetings\n\nIn settings::\n\n ALOHA_INIT_JS_TEMPLATE = \"html_editor/aloha_init.js\"\n CKEDITOR_INIT_JS_TEMPLATE = \"html_editor/ckeditor-init.js\"\n\nIf you choose CkEditor, you can add your own styles\n\nIn settings::\n\n CKEDITOR_CSS_CLASSES = [\n \"{name: 'Highlight', element: 'span', attributes: {'class': 'highlight'}}\",\n \"{name: 'Red Title', element: 'h3', styles: {color: '#880000'}}\",\n ]\n\n\nInlineHtmlInput has a \"provider\" that allows you to add local links to your models (articles, contacts, whatever) easily, through an autocomplete field that will search for objects based on rules you defined for each model :\n\n* search this kind of models using get_absolute_url()\n* search this kind of models using another method\n* search this kind of models using a specified model field\n\nYou can set the ``HTML_EDITOR_LINK_MODELS`` setting in your settings.py to tell which django models will be available in the auto-complete field of the \"add link\" widget like this ::\n\n HTML_EDITOR_LINK_MODELS = ('coop_local.Article', 'calendar.Event', )\n \n \ndjaloha requires jquery and is provided by default with jquery.1.7.2. You can change the jquery version if needed ::\n\n HTML_EDITOR_JQUERY = 'js/jquery.1.7.2.js'\n \n \nAloha has a nice plugin architecture. coop_html_editor includes by default the main Aloha plugins. You may want to have a different set of plugins.\nPlease refer to the Aloha docs for more information on plugins ::\n\n ALOHA_PLUGINS = (\n \"common/format\",\n \"common/highlighteditables\",\n \"common/list\",\n \"common/link\",\n \"common/undo\",\n \"common/paste\",\n \"common/commands\",\n \"common/image\",\n \"common/align\",\n \"extra/attributes\",\n \"common/characterpicker\",\n \"common/abbr\",\n \"common/horizontalruler\",\n \"common/table\",\n \"extra/browser\",\n )\n \n\nPlease note that the ``ALOHA_PLUGINS`` setting is a global setting. If you need to change the set of plugins for a specific form field, you\ncan pass a similar tuple in the ``aloha_plugins`` attribute of your ``coop_html_editor`` widget.\nThe ``extra_aloha_plugins`` attribute will add additional plugins to the default set.\n\n``HTML_EDITOR_INIT_URL`` setting make possible to overload the aloha init file of djaloha.\n``html_editor_init_url`` attribute of ``InlineHtmlInput`` can also be used to overload it for a specific form field.\n\nLicense\n=======\n\ncoop_html_editor is based on apidev-djaloha is a fork from credis/djaloha (see http://github.com/credis/djaloha)\n\ncoop_html_editor uses the BSD license. see license.txt\n\nDjaloha development was funded by `CREDIS `_, FSE (European Social Fund) and Conseil Regional d'Auvergne.\n", "description_content_type": "", "docs_url": null, "download_url": "https://github.com/ljean/coop_html_editor/tarball/master", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/ljean/coop_html_editor/", "keywords": "", "license": "BSD", "maintainer": "", "maintainer_email": "", "name": "coop_html_editor", "package_url": "https://pypi.org/project/coop_html_editor/", "platform": "", "project_url": "https://pypi.org/project/coop_html_editor/", "project_urls": { "Download": "https://github.com/ljean/coop_html_editor/tarball/master", "Homepage": "https://github.com/ljean/coop_html_editor/" }, "release_url": "https://pypi.org/project/coop_html_editor/1.3.1/", "requires_dist": null, "requires_python": "", "summary": "integration for Inline HTML editor", "version": "1.3.1" }, "last_serial": 5759651, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "5f5c06085c134c8dc24a2086d23da3e2", "sha256": "3207061855765041c8948ca6959cf1975d154f5e10fd5a4a48d60ab773e1aa1a" }, "downloads": -1, "filename": "coop_html_editor-0.1.0.tar.gz", "has_sig": false, "md5_digest": "5f5c06085c134c8dc24a2086d23da3e2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8316349, "upload_time": "2016-08-30T18:53:32", "url": "https://files.pythonhosted.org/packages/c8/1e/91839dedf0fbca7ffae609bf1bd6cc6f34e687154510af9add537ec8f7ba/coop_html_editor-0.1.0.tar.gz" } ], "1.0.0": [ { "comment_text": "", "digests": { "md5": "d53558c7efa263bb685e7f46df80b472", "sha256": "27900b276658485e1e2948ec5072097143bff5807c0575dcc0732ba952922841" }, "downloads": -1, "filename": "coop_html_editor-1.0.0.tar.gz", "has_sig": false, "md5_digest": "d53558c7efa263bb685e7f46df80b472", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9003085, "upload_time": "2016-12-06T10:34:35", "url": "https://files.pythonhosted.org/packages/42/4d/184d0ec76fd1434f2d84262a1324e603da14fd0da3c211dd83323df7ef0a/coop_html_editor-1.0.0.tar.gz" } ], "1.0.1": [ { "comment_text": "", "digests": { "md5": "ef9aaf0f4b8084a30110fab98933b089", "sha256": "0421bd5309d7e48f99cf1464fa3d67e0f6eb470aa103979a5f4456e3c6c9f608" }, "downloads": -1, "filename": "coop_html_editor-1.0.1.tar.gz", "has_sig": false, "md5_digest": "ef9aaf0f4b8084a30110fab98933b089", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9050198, "upload_time": "2017-01-18T17:50:01", "url": "https://files.pythonhosted.org/packages/8a/7c/2f06718bab35eafa8fbd7692595222812950ddafa7adef4a027af14b4a80/coop_html_editor-1.0.1.tar.gz" } ], "1.0.2": [ { "comment_text": "", "digests": { "md5": "61cb4a2863347d1133ed7c8bc54c514c", "sha256": "5eeffcee74c99b655027b0a5e9310af08dcd22445daec2360d50f0a1de46045c" }, "downloads": -1, "filename": "coop_html_editor-1.0.2.tar.gz", "has_sig": false, "md5_digest": "61cb4a2863347d1133ed7c8bc54c514c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9059499, "upload_time": "2017-01-31T11:10:38", "url": "https://files.pythonhosted.org/packages/d5/c4/751da6dbea28e98cefc5958269fc4b2c6e6f82325083738860db59969ae7/coop_html_editor-1.0.2.tar.gz" } ], "1.0.3": [ { "comment_text": "", "digests": { "md5": "a99c33edb35ab3d9f44b4a51d38959d0", "sha256": "6f54d4fd8d9bb14910f60bb8eb6e254fe88b182367cc7db9756b80a01f49947b" }, "downloads": -1, "filename": "coop_html_editor-1.0.3.tar.gz", "has_sig": false, "md5_digest": "a99c33edb35ab3d9f44b4a51d38959d0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9059603, "upload_time": "2017-02-02T10:02:55", "url": "https://files.pythonhosted.org/packages/2b/be/ad7d5f5b9cbedf87232d4f37c3f0a01baf889a2d427fdfc94d481445b974/coop_html_editor-1.0.3.tar.gz" } ], "1.0.4": [ { "comment_text": "", "digests": { "md5": "2bf46573eef1e1fc7e3ba92cb901df13", "sha256": "21542acdf1741e2b1e9f205576fed999bffe6a1337b0f2d45f6bf85a77ba8bdf" }, "downloads": -1, "filename": "coop_html_editor-1.0.4.tar.gz", "has_sig": false, "md5_digest": "2bf46573eef1e1fc7e3ba92cb901df13", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9255362, "upload_time": "2017-02-08T21:38:15", "url": "https://files.pythonhosted.org/packages/a8/b2/666f61076767f4356d5f1e7c50b3dff4ded2700c2d24e2b5f3de2bb93df9/coop_html_editor-1.0.4.tar.gz" } ], "1.0.5": [ { "comment_text": "", "digests": { "md5": "95989163b744c6138e1002e67b55d22f", "sha256": "d092476113cb2376b0ef91877bcf00b369344788d7197a8fa54a05f807248389" }, "downloads": -1, "filename": "coop_html_editor-1.0.5.tar.gz", "has_sig": false, "md5_digest": "95989163b744c6138e1002e67b55d22f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9260306, "upload_time": "2017-02-08T22:30:38", "url": "https://files.pythonhosted.org/packages/29/68/a30fdecac4ba09149728d7d05c435bafdfbe977fff8ea4246f2b47c0a26e/coop_html_editor-1.0.5.tar.gz" } ], "1.0.6": [ { "comment_text": "", "digests": { "md5": "ff24a5059c0061fd487c1e026eac238e", "sha256": "9e5201094241ce8f30bd0c6180e41edcd8a4d7041110990efb0c9d9abab10b75" }, "downloads": -1, "filename": "coop_html_editor-1.0.6.tar.gz", "has_sig": false, "md5_digest": "ff24a5059c0061fd487c1e026eac238e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9250388, "upload_time": "2017-04-03T14:15:53", "url": "https://files.pythonhosted.org/packages/f7/ca/09acbf8da7b3a9ad4529b2b91f8ad76e81062683a4ff0820df2716e3c879/coop_html_editor-1.0.6.tar.gz" } ], "1.0.7": [ { "comment_text": "", "digests": { "md5": "00bfd35d4f1974e4d68824a8cb69f4b7", "sha256": "6adcc3533cc2d1d14e7fdde247510b653049a9aa03bbeced2feba921bca03326" }, "downloads": -1, "filename": "coop_html_editor-1.0.7.tar.gz", "has_sig": false, "md5_digest": "00bfd35d4f1974e4d68824a8cb69f4b7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9250512, "upload_time": "2017-08-28T17:14:00", "url": "https://files.pythonhosted.org/packages/bb/2d/9fe4b43c1f878685716a817ca702740daa1b3c84e3fee9e2dd834d750751/coop_html_editor-1.0.7.tar.gz" } ], "1.0.8": [ { "comment_text": "", "digests": { "md5": "1e17ab262ec2960f62885176bf36c607", "sha256": "3929e668dd46e17f052418f2750cbf6a33b63371aa16b346065996770eda6f26" }, "downloads": -1, "filename": "coop_html_editor-1.0.8.tar.gz", "has_sig": false, "md5_digest": "1e17ab262ec2960f62885176bf36c607", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9250483, "upload_time": "2017-10-04T19:25:55", "url": "https://files.pythonhosted.org/packages/cf/35/7e5193337462c52d81899b842ea9b13e334ad870ee99bb0b0eed66b76fe6/coop_html_editor-1.0.8.tar.gz" } ], "1.1.0": [ { "comment_text": "", "digests": { "md5": "9f66d2aac18eba007cc813e9748448dd", "sha256": "888bf34fa713388fb5471b1e3c800b732062e74f4764ad8527d730511906629b" }, "downloads": -1, "filename": "coop_html_editor-1.1.0.tar.gz", "has_sig": false, "md5_digest": "9f66d2aac18eba007cc813e9748448dd", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9266689, "upload_time": "2018-04-09T10:37:02", "url": "https://files.pythonhosted.org/packages/48/d1/e3f780a688bbf61dc3e33a74951eb0cd019d6b641ca39bc141f93797d678/coop_html_editor-1.1.0.tar.gz" } ], "1.2.0": [ { "comment_text": "", "digests": { "md5": "20429ea3bdb2732d3e039c63e8aead7f", "sha256": "ccb0aaf83016d88e51fd775fe1be873358b1cf441623d017ccaed41df9da7535" }, "downloads": -1, "filename": "coop_html_editor-1.2.0.tar.gz", "has_sig": false, "md5_digest": "20429ea3bdb2732d3e039c63e8aead7f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9266699, "upload_time": "2018-07-05T06:50:32", "url": "https://files.pythonhosted.org/packages/e5/f9/9085abbd40095380ca2fd5e29e93e7d94699a71764b49e202bc653341bf5/coop_html_editor-1.2.0.tar.gz" } ], "1.2.1": [ { "comment_text": "", "digests": { "md5": "2a5900813a3646c3ad30e2aefeea791b", "sha256": "5ba0c40de226bf835c4fbd031a8abe8e52f36bdc7881904d22de9d8856c35d26" }, "downloads": -1, "filename": "coop_html_editor-1.2.1.tar.gz", "has_sig": false, "md5_digest": "2a5900813a3646c3ad30e2aefeea791b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9266646, "upload_time": "2018-07-25T13:47:33", "url": "https://files.pythonhosted.org/packages/dd/0d/036abc31f97819e76a8bbe3f3561c5936db55d6c6d3d5b40ef650727baab/coop_html_editor-1.2.1.tar.gz" } ], "1.3.1": [ { "comment_text": "", "digests": { "md5": "1ff02792f40aa65fec551071572e9783", "sha256": "686e4d84a27cb76c7c0cbf4680a7efb3bf403b3d3a27cec2a1e7c73b6c79a220" }, "downloads": -1, "filename": "coop_html_editor-1.3.1.tar.gz", "has_sig": false, "md5_digest": "1ff02792f40aa65fec551071572e9783", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9269658, "upload_time": "2019-08-30T10:40:26", "url": "https://files.pythonhosted.org/packages/ac/56/a40223d6a6bde2e4564c2a42e418af97f547b478cafdcb4c732040aaa438/coop_html_editor-1.3.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "1ff02792f40aa65fec551071572e9783", "sha256": "686e4d84a27cb76c7c0cbf4680a7efb3bf403b3d3a27cec2a1e7c73b6c79a220" }, "downloads": -1, "filename": "coop_html_editor-1.3.1.tar.gz", "has_sig": false, "md5_digest": "1ff02792f40aa65fec551071572e9783", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9269658, "upload_time": "2019-08-30T10:40:26", "url": "https://files.pythonhosted.org/packages/ac/56/a40223d6a6bde2e4564c2a42e418af97f547b478cafdcb4c732040aaa438/coop_html_editor-1.3.1.tar.gz" } ] }