FCKeditor插件使用(插入大文件)

1.设置页面  

<div>
  <textarea name="itemDesc" id="itemDesc" ></textarea>

</div>

2.引用FCKeditor的js 文件

  value='/plugins/fckeditor/fckeditor.js'/> 

3.编写jQuery

  var fck = new FCKeditor("itemDesc");
  fck.BasePath = path+"/ecps/console/res/plugins/fckeditor/";
  fck.Config["ImageUploadURL"] = path+"/upload/uploadForFck.do";
  fck.Height = 400;
  fck.ReplaceTextarea();

猜你喜欢

转载自www.cnblogs.com/ljllove/p/9201791.html