Socket
Socket
Sign inDemoInstall

lektor-tinymce

Package Overview
Dependencies
1
Maintainers
2
Alerts
File Explorer

Install Socket

Detect and block malicious and high-risk dependencies

Install

    lektor-tinymce

Lektor Plugin for TinyMCE Text Editor use.


Maintainers
2

Readme

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

Keywords

FAQs


Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc