play2 を使用して Java で記述された自分の Web サイトに ckeditor を統合しようとしています。
ここで、javascript ファイルをダウンロードし、サンプルを読みました。
重要な部分はckeditor.jsだと思いました
<script type="text/javascript" src="/assets/javascripts/ckeditor.js"></script>
サンプルとまったく同じフォームも使用しました
<form action="sample_posteddata.php" method="post">
<label for="editor1">
CKEditor using the <code>docprops</code> plugin and working in the Full Page mode:</label>
<textarea cols="80" id="editor1" name="editor1" rows="10"><html><head><title>CKEditor Sample</title></head><body><p>This is some <strong>sample text</strong>. You are using <a href="http://ckeditor.com/">CKEditor</a>.</p></body></html></textarea>
<script type="text/javascript">
//<![CDATA[
CKEDITOR.replace( 'editor1',
{
fullPage : true,
extraPlugins : 'docprops'
});
//]]>
</script>
<p>
<input type="submit" value="Submit" />
</p>
</form>
しかし、それは機能しません。通常のテキストエリアをレンダリングするだけです。Twitter ブートストラップ + jquery 1.7.1 を使用しています。
大事な部分を見落としていたのではないでしょうか?