Kendo UI Editor Style all paragraphs in body

1k views Asked by At

I need to update the top and bottom margins for paragraphs within the Kendo editor to make the spacing between the lines smaller. I updated the style file as below, but the paragraph lines still have the same spacing.

.k-content body p {
    margin-top: 0;
    margin-bottom: 0;
}

What else should I change to see the results I am looking for? I appreciate any help.

1

There are 1 answers

0
Sohi On

I was able to style the paragraphs in the content of the Kendo Editor using the information in the two below links. They show the default styles for Kendo Editor and also how to create a custom stylesheet and refer to it in the editor:

https://demos.telerik.com/kendo-ui/editor/styles

https://docs.telerik.com/aspnet-core/html-helpers/editors/editor/styling