0
私はckeditorディレクトリにconfig.jsファイルを持っていますが、何らかの理由で私のプロジェクトのJSPページがこのjsファイルのコードフォームを実装していません。 Config.jsファイルがページ上で朗読されています。jspページでckeditor 3 javascript apiを実装する方法は?
のWebContent/CKEditorバージョン/ config.jsの
CKEDITOR.editorConfig = function(config)
{
config.autoGrow_minHeight = 300;
config.autoGrow_maxHeight = 400;
config.baseFloatZIndex = 2000;
config.blockedKeystrokes =
[
CKEDITOR.CTRL + 66 /*B*/,
CKEDITOR.CTRL + 73 /*I*/,
CKEDITOR.CTRL + 85 /*U*/
];
config.bodyId = 'Anshul_contents_id';
config.filebrowserWindowFeatures = 'resizable=yes,scrollbars=no';
};
のWebContent/index.jspを
<lable>Description</lable>
<div>
<textarea cols="50" id="editor1" name="editor1" rows="7" />
</div>
<ckeditor:replace replace="editor1" basePath="ckeditor/" />
に 静的CKEditorConfig基本()関数を呼び出すようにあなたがそのために独自のカスタムタグを書いているようです。タグのソースコードは何がうまくいかないかを理解するために必要です。 –