我需要在Kendo编辑器中更新段落的上边距和下边距,以使行之间的间距更小。我更新了样式文件,如下所示,但段落行仍然具有相同的间距。
.k-content body p {
margin-top: 0;
margin-bottom: 0;
}我还需要做哪些更改才能看到我想要的结果?我很感谢你的帮助。
发布于 2020-07-28 21:54:48
我能够使用下面两个链接中的信息在Kendo编辑器的内容中设置段落的样式。它们展示了Kendo Editor的默认样式,以及如何创建自定义样式表并在编辑器中引用它:
https://demos.telerik.com/kendo-ui/editor/styles
https://docs.telerik.com/aspnet-core/html-helpers/editors/editor/styling
https://stackoverflow.com/questions/63120819
复制相似问题