【问题标题】:CKEditor 'Send it to the server' button is invisibleCKEditor“发送到服务器”按钮不可见
【发布时间】:2012-12-18 21:22:19
【问题描述】:

使用 CKEditor 遇到奇怪的行为。我已经设置好了所有东西,我可以上传图片了。但我唯一的问题是我在上传表单中看不到“发送到服务器”按钮。我知道它在那里,因为如果我将鼠标悬停在它应该在的区域上,替代信息会显示为“将其发送到服务器”。此外,如果我按下该区域,它将上传照片:

除了包含上传脚本之外,我没有编辑任何 CSS 文件或篡改代码。

image.js 文件内容如下:

{
    id: 'Upload',
    filebrowser: 'uploadButton',
    label: editor.lang.image.upload,
    elements: [
        {
        type: 'file',
        id: 'upload',
        label: editor.lang.image.btnUpload,
        style: 'height:40px',
        size: 38
    },
        {
        type: 'fileButton',
        id: 'uploadButton',
        filebrowser: 'info:txtUrl',
        label: editor.lang.image.btnUpload,
        'for': [ 'Upload', 'upload' ]
        }
    ]
}

文件输入显示但不显示按钮。

【问题讨论】:

    标签: ckeditor


    【解决方案1】:

    原来是我使用的自定义皮肤,它不包含所有必要的类。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2020-05-23
      • 1970-01-01
      • 2017-02-05
      • 1970-01-01
      • 1970-01-01
      • 2017-05-06
      • 2022-01-17
      • 2014-08-14
      相关资源
      最近更新 更多