Skip to main content

Lektor Plugin for TinyMCE Text Editor use.

Project description

lektor-tinymce

Lektor plugin for editing with the TinyMCE text editor.

Installation

Install the plugin from pypi with one of the standard ways.

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

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(), 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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

lektor_tinymce-0.6-py3-none-any.whl (4.7 kB view details)

Uploaded Python 3

File details

Details for the file lektor_tinymce-0.6-py3-none-any.whl.

File metadata

File hashes

Hashes for lektor_tinymce-0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 a3bb009721e39544ceb3949bcf2c5918697ac580f62a08dc53230349f6b8d370
MD5 cbf05ff4a450fc981562036ac9b58699
BLAKE2b-256 9b8753dee849a962f9495e294cbbdbf3a9a1c77f9c91c15a0c652751e8652e3a

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page