我有过
<script src="cledtor.js"></script
<script src="cledtortable.js"></script
然后在我的html中,我有
$(document).ready(function() {
$("#editor-content").cleditor({
width: 708,
height: 350,
controls:
"bold italic underline strikethrough | alignleft center alignright justify | size " +
"| color removeformat | outdent indent | bullets numbering rule | image link unlink | undo redo | pastetext ",
colors:
"000000 898989 db0000 005e20 06758c ",
sizes:
"1,2,3,4,5,6,7",
useCSS: false,
docType:
'<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">',
docCSSFile:
"",
bodyStyle:
"margin:4px; font:10pt Arial,Verdana; cursor:text"
});
});
如果我添加"table“控件,它就不起作用了。作为这个代码,仍然没有表格图标..我在buttons.gif所在的同一位置得到了table.gif图像
Official ClEditor page
发布于 2013-01-09 09:55:27
1:将js文件上传到cleditor js文件所在的目录,并将其包含在js include中(如您所示)
2:上传table.gif到图片目录
3:在控件行中添加"table“(不带引号)
应该看起来像任何其他插件:-)
https://stackoverflow.com/questions/11786144
复制相似问题