Kendo UI编辑器和reset.css

时间:2014-06-10 17:28:58

标签: user-interface kendo-ui editor

如何阻止reset.css清除kendo编辑器中的粗体或斜体样式格式?因为,我需要reset.css用于应用程序的其他部分。

1 个答案:

答案 0 :(得分:1)

我不确定为什么reset.css想要在强元素上将“font”改为“inherit”,但它不是很逻辑。 Kendo编辑器使用 使文本变为粗体,从而产生冲突。

添加此CSS

strong { font-weight: bold }

strong { font-weight: bold!important }

或使用其他重置css,例如normalize.css

有关详细信息,请查看此SO问题:YUI Reset CSS Makes <strong><em>this not work</em></strong>