我堅持用IE一個奇怪的問題,當我點擊右鍵使用下面的代碼從WAMP訪問本地文件時輸出相同的代碼,但輸出不同?
<!DOCTYPE html>
<!--
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
-->
<html>
<head>
<meta charset="utf-8">
<title>API Usage — CKEditor Sample</title>
<script src="../ckeditor.js"></script>
</head>
<body>
<textarea cols="100" id="editor1" name="editor1" rows="10"><p>This is some <strong>sample text</strong>. You are using <a href="http://ckeditor.com/">CKEditor</a>.</p></textarea>
<script>
// Replace the <textarea id="editor1"> with an CKEditor instance.
CKEDITOR.replace('editor1');
</script>
</body>
</html>
我沒有得到任何黑色邊框當CKEditor的內部選定的文本打開test.html文件。但是當我將完全相同的代碼放在text.php中並通過WAMP訪問時,我在選定的文本週圍出現黑色邊框。這個問題是唯一的IE,鉻和火狐它的作品。
Apache或PHP頭可以影響IE輸出嗎?
順便說一句我正在使用ckeditor版本4,可以從http://ckeditor.com/download下載。