2015-10-06 118 views
0

我喜欢JCE,但是尽管配置了它,它总是去掉代码行。joomla文章的任何好的代码编辑器?

有人设法使用JCE而没有它触摸任何的代码?

作为Joomla文章中的代码编辑器,您最适合做什么?

EDIT1:JCE来变换

<iframe class="clarity-widget" data-c-id="63193" data-c-width="" frameborder="0"></iframe> 
<script src="https://clarity.fm/assets/widget_loader.js"></script> 
<style scoped="scoped" type="text/css"> 
     <!-- iframe { 
      width:345px; 
     } 
     --> 
    </style> 

<script src="https://clarity.fm/assets/widget_loader.js" type="text/javascript"></script> 
<style scoped="scoped" type="text/css"> 
    <!-- iframe { 
     width:345px; 
    } 
    --> 
</style> 

iframe中被移除,并且风格标签是 “作用域”。

+0

对于_code_的意思是JavaScript?和CSS? – Michel

+0

为什么不只是使用内置的Code Mirror编辑器? – Elin

+0

@Michel,我的意思是JS,CSS和PHP。 –

回答

0

由@Elin提到的代码镜像是一个不错的选择,内置于Joomla 3中。

0

点击“Components” - >“JCE Editor” - >“Profiles”。然后点击“默认”行,一旦你这样做,点击“编辑器参数”选项卡(如果你想指示JCE不要验证该页面上的HTML),然后点击“高级”选项卡左边),然后点击“允许JavaScript”旁边的“是”,然后点击“允许CSS”旁边的“是”,然后点击左上角的“保存”。

如果您还有问题,请回到这里。

+0

我做到了。代码仍然被删除: