{ "info": { "author": "Alexander Zhygailo", "author_email": "alexander777vz@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", "License :: OSI Approved :: GNU General Public License v3 (GPLv3)", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3.5", "Topic :: Software Development :: Libraries" ], "description": "WTF TinyMCE\n===========\n\nTinyMCE editor extension for WTForms\n\n1. Installation\n---------------\n\nUnder your project environment run:\n\n::\n\n $ pip install wtf-tinymce\n\n2. Configuring\n--------------\n\n2.1. Initializing module\n~~~~~~~~~~~~~~~~~~~~~~~~\n\nUnder your application initialization (e.g. app = Flask(\\_\\_name\\_\\_))\nadd module import and initialization:\n\n::\n\n from wtf_tinymce import wtf_tinymce\n wtf_tinymce.init_app(app)\n\n2.2. Adding template\n~~~~~~~~~~~~~~~~~~~~\n\nIn your create or edit templates (or custom templates with wtforms) add\nimport:\n\n::\n\n {% import 'wtf_tinymce/editor.html' as tinymce with context %}\n\nand under your site footer block add template initialization like:\n\n::\n\n {% block tail %}\n {{ super() }}\n {{ tinymce.init_wtf_tinymce(default_content_css='css/tinymce.css') }}\n {% endblock %}\n\nNote: ``default_content_css`` is optional parameter with relative path\nunder project static folder to your custom stylesheet for editor\ncontent.\n\n3. Usage\n--------\n\n::\n\n from wtf_tinymce.forms.fields import TinyMceField\n\n class MyForm(Form):\n text = TinyMceField(\n 'My WTF TinyMCE Field label',\n tinymce_options={'toolbar': 'bold italic | link | code'}\n )\n\nTo optional parameter ``tinymce_options`` you can add any TinyMCE options\n(see official documentation https://www.tinymce.com/docs/configure/ for details.", "description_content_type": null, "docs_url": null, "download_url": null, "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/azsoftware/wtf-tinymce", "keywords": "wtf-tinymce,wtforms,tinymce,richeditor", "license": "GNU General Public License v3 (GPLv3)", "maintainer": null, "maintainer_email": null, "name": "wtf-tinymce", "package_url": "https://pypi.org/project/wtf-tinymce/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/wtf-tinymce/", "project_urls": { "Homepage": "https://github.com/azsoftware/wtf-tinymce" }, "release_url": "https://pypi.org/project/wtf-tinymce/0.1.3/", "requires_dist": null, "requires_python": null, "summary": "TinyMCE editor extension for WTForms", "version": "0.1.3" }, "last_serial": 2674365, "releases": { "0.1.1": [ { "comment_text": "", "digests": { "md5": "26e1020e7c8f127ae3e86ea83def7304", "sha256": "7d9f4547639e48bbeabfa26bf73a444abced1607f2f476eb2e689f9ccb5313b8" }, "downloads": -1, "filename": "wtf-tinymce-0.1.1.tar.gz", "has_sig": false, "md5_digest": "26e1020e7c8f127ae3e86ea83def7304", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 458465, "upload_time": "2016-08-19T10:07:01", "url": "https://files.pythonhosted.org/packages/c1/9d/a968d3892859e8660881a876b07fe7654be610f77229a2f7174c9270e0cc/wtf-tinymce-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "a79f2741b23c77f8eb24be2fbd5a748c", "sha256": "f95d4a1d139140bcd620dac0531fadbc974e28f2ab73cc16aa16881b82670c27" }, "downloads": -1, "filename": "wtf-tinymce-0.1.2.tar.gz", "has_sig": false, "md5_digest": "a79f2741b23c77f8eb24be2fbd5a748c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 458581, "upload_time": "2016-09-06T09:57:13", "url": "https://files.pythonhosted.org/packages/a8/ff/6fd86484831cb5af6a6e455d7f5e43fe2ddbaf7d7fe420130b434685ebfb/wtf-tinymce-0.1.2.tar.gz" } ], "0.1.3": [ { "comment_text": "", "digests": { "md5": "2cebefc80d88c670e7e460644b735cf2", "sha256": "99609c61fa8bb1fc7bb72a8cfded78b0644d318e5715a75d28c6d45b3930c2e6" }, "downloads": -1, "filename": "wtf-tinymce-0.1.3.tar.gz", "has_sig": false, "md5_digest": "2cebefc80d88c670e7e460644b735cf2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 453505, "upload_time": "2017-03-01T00:23:15", "url": "https://files.pythonhosted.org/packages/cf/b1/6694ee18fb239cb4ff33d8b5a7211d1c2a5a89e2bcb27f403a26e677de06/wtf-tinymce-0.1.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "2cebefc80d88c670e7e460644b735cf2", "sha256": "99609c61fa8bb1fc7bb72a8cfded78b0644d318e5715a75d28c6d45b3930c2e6" }, "downloads": -1, "filename": "wtf-tinymce-0.1.3.tar.gz", "has_sig": false, "md5_digest": "2cebefc80d88c670e7e460644b735cf2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 453505, "upload_time": "2017-03-01T00:23:15", "url": "https://files.pythonhosted.org/packages/cf/b1/6694ee18fb239cb4ff33d8b5a7211d1c2a5a89e2bcb27f403a26e677de06/wtf-tinymce-0.1.3.tar.gz" } ] }