Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/joomla/2.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

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/cmake/2.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
joomla文章有好的代码编辑器吗?_Joomla_Editor - Fatal编程技术网

joomla文章有好的代码编辑器吗?

joomla文章有好的代码编辑器吗?,joomla,editor,Joomla,Editor,我喜欢JCE,但尽管对其进行了配置,它始终会剥离代码行 是否有人设法使用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_

我喜欢JCE,但尽管对其进行了配置,它始终会剥离代码行

是否有人设法使用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>

进入


如果框架被删除,样式标记被“确定范围”。

单击“组件”->“JCE编辑器”->“配置文件”。然后单击“Default”行,完成后,单击“Editor Parameters”选项卡(如果您想指示JCE不要验证该页面上的HTML),然后单击“Advanced”选项卡(左侧),单击“Allow JavaScript”旁边的“Yes”,单击“Allow CSS”旁边的“Yes”,然后单击左上角的“Save”


如果您仍然有问题,请发回到这里。

代码镜像,正如@Elin所提到的,是一个很好的选择,内置于Joomla 3中。

对于代码,您指的是JavaScript?还有CSS?为什么不使用内置的代码镜像编辑器?@Michel,我是说JS、CSS和PHP@Elin…谢谢,代码镜像编辑器非常完美,我从来没有使用过它!我觉得自己像个白痴,不管怎样,你真的帮了我的忙,我做到了。代码仍然被删除:已删除。并且标签具有“scoped”属性……这篇文章应该有帮助:链接的Thx。我没有看到文章中描述的“媒体支持”选项卡。
<script src="https://clarity.fm/assets/widget_loader.js" type="text/javascript"></script>
<style scoped="scoped" type="text/css">
    <!-- iframe {
        width:345px;
    }
    -->
</style>