# lektor-tinymce
Lektor plugin for editing with the [TinyMCE text editor](https://www.tiny.cloud/features).
## Installation
Install the plugin from pypi with one of the [standard ways](https://www.getlektor.com/docs/plugins/).
## Compatibility
This plugin uses non-api mechanisms in Lektor/Flask to inject its own code into admin jinja template.
Due to frequent change in Lektor admin backend code, each version of this plugin shall most likely be compatible with specific version of Lektor.
Currently it is compatible with Lektor [3.3.6](https://github.com/lektor/lektor/releases/tag/v3.3.6)
## API key
To add an API key, create the file `configs/tinymce.ini` in your lektor project folder with the following contents:
[licence]
api-key = 'YOUR_API_KEY_HERE'
## Tiny MCE setting
To pass additional arguments (such as a list of plugins) into [tinymce.init()](https://www.tiny.cloud/docs/configure/integration-and-setup/), just add the following contents to the file `configs/tinymce.ini` in your lektor project folder:
[config]
settings = 'YOUR_SETTINGS'
Here is the example of the settings string:
[config]
settings = "plugins: 'image link lists autoresize table', image_advtab: true,"
Note that this string is passed directly into tinymce.init(), so it must follow the given format.
Some plugins, such as image upload, may not be fully integrated with lektor by default.
## License
The plugin is distributed under the MIT license
Raw data
{
"_id": null,
"home_page": null,
"name": "lektor-tinymce",
"maintainer": null,
"docs_url": null,
"requires_python": null,
"maintainer_email": null,
"keywords": "lektor, plugin, tinymce, rich-text, editor, wysiwyg",
"author": "Grigory Vartanyan",
"author_email": "gvartanyan@spherical.pm",
"download_url": null,
"platform": null,
"description": "# lektor-tinymce\nLektor plugin for editing with the [TinyMCE text editor](https://www.tiny.cloud/features).\n\n## Installation\nInstall the plugin from pypi with one of the [standard ways](https://www.getlektor.com/docs/plugins/).\n\n## Compatibility\nThis plugin uses non-api mechanisms in Lektor/Flask to inject its own code into admin jinja template.\nDue to frequent change in Lektor admin backend code, each version of this plugin shall most likely be compatible with specific version of Lektor.\nCurrently it is compatible with Lektor [3.3.6](https://github.com/lektor/lektor/releases/tag/v3.3.6)\n\n## API key\nTo add an API key, create the file `configs/tinymce.ini` in your lektor project folder with the following contents:\n\n [licence]\n api-key = 'YOUR_API_KEY_HERE'\n\n## Tiny MCE setting\nTo pass additional arguments (such as a list of plugins) into [tinymce.init()](https://www.tiny.cloud/docs/configure/integration-and-setup/), just add the following contents to the file `configs/tinymce.ini` in your lektor project folder:\n [config]\n settings = 'YOUR_SETTINGS'\n\nHere is the example of the settings string:\n [config]\n settings = \"plugins: 'image link lists autoresize table', image_advtab: true,\"\n\nNote that this string is passed directly into tinymce.init(), so it must follow the given format.\nSome plugins, such as image upload, may not be fully integrated with lektor by default.\n## License\nThe plugin is distributed under the MIT license\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "Lektor Plugin for TinyMCE Text Editor use.",
"version": "0.6",
"project_urls": null,
"split_keywords": [
"lektor",
" plugin",
" tinymce",
" rich-text",
" editor",
" wysiwyg"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "9b8753dee849a962f9495e294cbbdbf3a9a1c77f9c91c15a0c652751e8652e3a",
"md5": "cbf05ff4a450fc981562036ac9b58699",
"sha256": "a3bb009721e39544ceb3949bcf2c5918697ac580f62a08dc53230349f6b8d370"
},
"downloads": -1,
"filename": "lektor_tinymce-0.6-py3-none-any.whl",
"has_sig": false,
"md5_digest": "cbf05ff4a450fc981562036ac9b58699",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 4653,
"upload_time": "2024-07-12T11:12:27",
"upload_time_iso_8601": "2024-07-12T11:12:27.465327Z",
"url": "https://files.pythonhosted.org/packages/9b/87/53dee849a962f9495e294cbbdbf3a9a1c77f9c91c15a0c652751e8652e3a/lektor_tinymce-0.6-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-07-12 11:12:27",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "lektor-tinymce"
}