简体   繁体   English

JCE 编辑器工具栏图标未正确加载

[英]JCE Editor toolbar icons do not load properly

I have a Joomla!我有一个 Joomla! 3.3.3 and I'm using JCE. 3.3.3 我正在使用 JCE。 My problem is that the editor is not showing the icons of the buttons on the toolbar.我的问题是编辑器没有显示工具栏上按钮的图标。 Using Firebug, I realized it was a problem in the path of the css of all themes.使用Firebug,发现是所有主题的css路径有问题。

在此处输入图片说明

在此处输入图片说明

In this case, I'm using Classic.在这种情况下,我使用的是 Classic。 The css that appears in of the Firebug code is: Firebug 代码中出现的 css 是:

.classicSkin .mceIcon {
   background: url("/campusbaixada/web/sites/dev01.unifesp.br/components/com_jce/editor/tiny_mce/themes/advanced/img/icons.gif") in the repeat scroll 20px 20px RGBA (0, 0, 0, 0);
}

If I change to:如果我改为:

.classicSkin .mceIcon {
   background: url ("/ components / com_jce / editor / tiny_mce / themes / advanced / img / icons.gif") no-repeat scroll 20px 20px rgba (0, 0, 0, 0);
}

then part of the toolbar will reappear.然后工具栏的一部分将重新出现。

So I'm going in the JCE folder on the server (components / com_jce / editor / tiny_mce / themes / advanced / skins / classic) and change the code for the所以我要进入服务器上的 JCE 文件夹(components/com_jce/editor/tiny_mce/themes/advanced/skins/classic)并更改

.classicSkin .mceIcon {
   background: url (img ../../ / icons.gif) no-repeat 20px 20px;
}

to

.classicSkin .mceIcon {background: url (/components/com_jce/editor/tiny_mce/themes/advanced/img/icons.gif) no-repeat 20px 20px;}

Now my questions:现在我的问题:

I tried to leave it fixed at a default css file of my template because every time I update the component, it loses my settings, but could not make it work.我试图将它固定在模板的默认 css 文件中,因为每次更新组件时,它都会丢失我的设置,但无法使其工作。

On their forum, besides not having this problem, I have to pay to be able to post the doubts ... can anyone help me?在他们的论坛上,除了没有这个问题之外,我还必须付费才能发布疑问……有人可以帮助我吗?

The following workaround worked for me: Log into the Administrator.以下解决方法对我有用:登录管理员。 Go to Components -> JCE Editor -> Global Configuration.转到组件 -> JCE 编辑器 -> 全局配置。 Set "Compress CSS" to No and click Save.将“压缩 CSS”设置为“否”,然后单击“保存”。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM