I am using TinyMCE to provide a rich text editing text editor. But the line spacing between the lines is too much. I have added a screenshot that shows the line spacing I get on pressing an enter. What can be done about it
There is a css class that is applied to the TinyMCE html content. It looks like you have <p>
tags causing the spacing. Honestly, it looks pretty good to me. But you can override in the css class:
.tinymce-content p {
padding: 0;
margin: 2px 0;
}
See the tinymce docs for more info.