Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/jquery/78.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Jquery 停止kendoUI编辑器插入内联样式_Jquery_Css_Kendo Ui - Fatal编程技术网

Jquery 停止kendoUI编辑器插入内联样式

Jquery 停止kendoUI编辑器插入内联样式,jquery,css,kendo-ui,Jquery,Css,Kendo Ui,我正在为我的一个项目使用kendo web editor,但有一个问题是,kendoUI editor不必要地对文本中的标记应用大量内联样式 例如: <p style="margin-bottom:1em;padding-right:0px;padding-left:0px;font-size:14px;clear:both;word-wrap:break-word;color:#000000;font-family:Arial, 'Liberation Sans', 'DejaVu Sa

我正在为我的一个项目使用kendo web editor,但有一个问题是,
kendoUI editor
不必要地对文本中的标记应用大量内联样式

例如:

<p style="margin-bottom:1em;padding-right:0px;padding-left:0px;font-size:14px;clear:both;word-wrap:break-word;color:#000000;font-family:Arial, 'Liberation Sans', 'DejaVu Sans', sans-serif;font-style:normal;font-variant:normal;line-height:18px;">The default MVC template puts the Web.config at the root of the project.</p>
默认的MVC模板将Web.config放在项目的根目录下

我不需要这种内联样式,因为我通过一个样式表处理对象的样式


有没有一种方法可以阻止这种情况发生,并且只能限制编辑器在文本中插入基本标记?

您想做什么?什么不起作用?是否将内联样式添加到可以复制和粘贴的实际文本中?你能发一个JSFIDLE或什么的吗?我也有同样的问题。。。你找到解决办法了吗?