草庐IT

AllowedContent

全部标签

ckeditor.config.AllowedContent true不工作

我正在使用ckeditor。我想允许用户使用所需的所有内联样式。但是当我使用CKEDITOR.config.allowedContent=true;,什么都没有改变,CKEditor改变了style名称[removed].这是我试图做的:config.jsCKEDITOR.editorConfig=function(config){};CKEDITOR.config.allowedContent=true;我也尝试了:CKEDITOR.editorConfig=function(config){CKEDITOR.config.allowedContent=true;};每次更改后,我都清除了缓