English 中文(简体)
铁路3.1.2 舱载供应商的密码
原标题:Rails 3.1.2 ckeditor vendor scripts
最佳回答

在几个小时的拖车之后,我发现,我的问题有两个方面。

首先,可以确定一种CKEditor全球选择,告诉它基地安装道路在哪里。 为了确定这一点,我修改了我的<编码>应用。

//= require_self
CKEDITOR_BASEPATH = "/assets/ckeditor/";

第二,我的环境会议是一把CKEditor案卷推倒的。 因此,在<代码>config/environments/production.rb上,我增列了ckeditor/config.js ckeditor/contents.csss,将其输入到config.assets.precompile上。

EDIT:我不得不在清单清单中增加几处档案,而不仅仅是此处所列档案。 一份综合清单将令人误解,因为大多数档案都来自一个习俗主题。 装 load检查官或火焰检查,看看仍然回落404号的资产清单,在阵列中添加这些资产,看看这些资产是否固定。

问题回答

暂无回答




相关问题
How to make CKEditor render text with a CSS?

I have a CKEditor used to edit a text in a web-page. In the web-page, the text renders in its context and therefore follows the page CSS formatting. My question is how to tell CKEditor to apply a ...

CKEditor IE8 issue

Has anyone experienced this problem with CKEditor and IE8? Basiclally, when the content included a nested p tag, you cant edit the content. i.e. <div> <p>This content cannot be changed ...

CKEditor is saving text with extra slashes in HTML tags

When I retrieve the data from the textarea in the form, <?php $editor_data = $_POST[ editor1 ]; ?> this works fine locally. The remote server, however, returns the text mixing up the style ...

Preserving SCRIPT tags (and more) in CKEditor

Is it possible to create a block of code within the CKEditor that will not be touched by the editor itself, and will be maintained in its intended-state until explicitly changed by the user? I ve been ...

ckeditor image button and IE

has anyone had any experience with this editor? Ive been integrating this editor into a web application i am working on, and generally it has been going smoothely, except for one problem (is it a ...

热门标签