首次初始化后,CKEditor中的多余标签

时间:2011-03-13 21:27:58

标签: javascript ckeditor wysiwyg

有人面对这样的问题吗? 我有CKEditor完全安装和工作但不管我输入什么(例如Hello world)我总是得到大量丑陋的格式化HTML,如:

<div style="position: absolute; z-index: 99999999; display: none; top: 0pt; right: 0pt; bottom: auto; left: auto; height: auto; width: auto; padding: 5px; background-color: rgb(0, 0, 0); font-size: 13px; line-height: 1.2; color: rgb(255, 255, 255); opacity: 0.9;">
    <p style="margin: 0pt; padding: 0pt; display: none;">
    </p>
</div>

最初TextArea的替换是空的,所以这不是这个HTML仅来自CKEditor的原因。

在这种情况下我的CKEditor配置:

CKEDITOR.replace(optionList.editorName, {
     "toolbar": optionList.editorType || "Full",
     "uiColor": optionList.editorColor || "#EEE",
     "height": "200px",
     "minHeight": "200px",
     "maxHeight": "200px",
     "startupShowBorders": false,
     "toolbarCanCollapse": false,
     "fillEmptyBlocks": false,
     "ignoreEmptyParagraph": true,
     "resize_enabled": false,
     "filebrowserBrowseUrl": "/App_Vendors/FSManager/"
});

任何帮助表示赞赏:)

1 个答案:

答案 0 :(得分:0)

已关闭 - 答案在此处 - http://cksource.com/forums/viewtopic.php?t=21857

相关问题