本帖最后由 u010331761 于 2013-08-08 20:15:44 编辑

解决方案 »

  1.   

    在kindeditor.js文件中有这么一行,
    items : [
    'source', '|', 'undo', 'redo', '|', 'preview', 'print', 'template', 'code', 'cut', 'copy', 'paste',
    'plainpaste', 'wordpaste', '|', 'justifyleft', 'justifycenter', 'justifyright',
    'justifyfull', 'insertorderedlist', 'insertunorderedlist', 'indent', 'outdent', 'subscript',
    'superscript', 'clearhtml', 'quickformat', 'selectall', '|', 'fullscreen', '/',
    'formatblock', 'fontname', 'fontsize', '|', 'forecolor', 'hilitecolor', 'bold',
    'italic', 'underline', 'strikethrough', 'lineheight', 'removeformat', '|', 'image', 'multiimage',
    'flash', 'media', 'insertfile', 'table', 'hr', 'emoticons', 'baidumap', 'pagebreak',
    'anchor', 'link', 'unlink', '|', 'about'
    ],有对应的属性,具体你看看,以前我改过一次,后来就用FCK了,记不太清
      

  2.   

    找了一个小时,找到了 在\plugins\image文件夹下有一个image.js文件,把里面有这么一段//remote image - start
    '<div class="tab1" style="display:none;">',


    //url
    '<div class="ke-dialog-row">',
    '<label for="remoteUrl" style="width:60px;">' + lang.remoteUrl + '</label>',
    '<input type="text" id="remoteUrl" class="ke-input-text" name="url" value="" style="width:200px;" /> &nbsp;',
    '<span class="ke-button-common ke-button-outer">',
    '<input type="button" class="ke-button-common ke-button" name="viewServer" value="' + lang.viewServer + '" />',
    '</span>',
    '</div>',
    //size
    '<div class="ke-dialog-row">',
    '<label for="remoteWidth" style="width:60px;">' + lang.size + '</label>',
    lang.width + ' <input type="text" id="remoteWidth" class="ke-input-text ke-input-number" name="width" value="" maxlength="4" /> ',
    lang.height + ' <input type="text" class="ke-input-text ke-input-number" name="height" value="" maxlength="4" /> ',
    '<img class="ke-refresh-btn" src="' + imgPath + 'refresh.png" width="16" height="16" alt="" style="cursor:pointer;" title="' + lang.resetSize + '" />',
    '</div>',
    //align
    '<div class="ke-dialog-row">',
    '<label style="width:60px;">' + lang.align + '</label>',
    '<input type="radio" name="align" class="ke-inline-block" value="" checked="checked" /> <img name="defaultImg" src="' + imgPath + 'align_top.gif" width="23" height="25" alt="" />',
    ' <input type="radio" name="align" class="ke-inline-block" value="left" /> <img name="leftImg" src="' + imgPath + 'align_left.gif" width="23" height="25" alt="" />',
    ' <input type="radio" name="align" class="ke-inline-block" value="right" /> <img name="rightImg" src="' + imgPath + 'align_right.gif" width="23" height="25" alt="" />',
    '</div>',
    //title
    '<div class="ke-dialog-row">',
    '<label for="remoteTitle" style="width:60px;">' + lang.imgTitle + '</label>',
    '<input type="text" id="remoteTitle" class="ke-input-text" name="title" value="" style="width:200px;" />',
    '</div>',
    '</div>',
    //remote image - end
    把它去掉就是这样了:
    剩下的去掉那个标题就留给你吧,眼痛了,version 4.1.6 (2013-03-24)这是版本号,是4.1.6的,可能版本不同,会有差别吧
      

  3.   

    谢谢大虾。我跑去看kindeditor.js的源码了。怪不得一直找不到。
    能告诉我该如何定位哪个源码吗?
      

  4.   

    在 image.js中 把这个
    showRemote = K.undef(options.showRemote, true),
    改成 false 自然就没有 网络上传了