A basic TinyMCE plugin that adds a line-height formatter similar to font-size functionality. Current version 1.0.0, last updated 2018. The plugin adds a toolbar dropdown ('lineheightselect') and allows configuration of line-height formats. There are no maintenance updates or releases. It is designed specifically for TinyMCE version 4.x (tested on 4.1.5) and not compatible with TinyMCE 5/6. No npm package exists; developers must copy the plugin folder manually.
npm install tinymce-line-height-pluginNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Demonstrates basic TinyMCE 4.x initialization with the lineheight plugin enabling a line-height selector dropdown.
Migrate to TinyMCE 5/6 native line-height support or use a modern alternative.
Download the plugin folder and place it inside tinymce/js/tinymce/plugins/.
Use toolbar: 'lineheightselect' in init config.
Set plugins: 'lineheight' (not 'line-height' or 'line_height').
Downgrade to TinyMCE 4.x or use a compatible line-height plugin for TinyMCE 5/6.
Ensure the 'plugin.min.js' file exists at tinymce/plugins/lineheight/plugin.min.js.
Include <script src='path/to/tinymce.min.js'></script> before the init script.