Reputation: 21
We are using BlogEngine.Net for managing blog posts which has implemented version “3.9.2” of Tiny MCE Editor.
As per our requirement we want to add new control (dropdown) in tool bar of the editor to provide this line height option so that author of the blog post could set line height to any of the selected paragraphs. We even find a related link for this http://fiddle.tinymce.com/jAbaab but it didn’t work for me.
Can someone please help me on this?
Upvotes: 2
Views: 1946
Reputation: 330
This TinyMCE plugin can help you. https://github.com/castler/tinymce-line-height-plugin
Download and place it into your tinymce plugin folder.
It supports TinyMCE 4.
Upvotes: 0
Reputation: 50832
Take a closer look at the way the style plugin works that gets shipped with Tinymce3. You can copy the plugin directory and apply your own changes there. All you need to to is to get rid of the unwanted funtionality and rename the plugin (directory and in the code).
Upvotes: 1