FCKeditor - The text editor for Internet
将太郎 2008/01/16   |  Rich Client
インストール 2008/01/16  |  PK:FCKeditor インストール

FCKeditor はリッチなオンライン エディタです、パソコンの初心者でも、Office の利用経験があれば楽にリッチなコンテンツを作ることができます。FCKeditor はオープンソースであり、Javaとの統合用のオープンソースファイルも提供されていますので、かなり便利です。Uprush の全てのコンテンツ画面は FCKeditor を使って作られたのです。

FCKeditor の公式サイトはこちら、demo はこちらです。

FCKeditor のインストールは簡単です。上記公式サイトから最新版をダウンロードして自分のサイトルートに解凍します。FCKeditor を取り込むページに以下のソースを追加します。

 
  1. <noscript><p><b>Javascript must be enabled to use this form.</b></p></noscript>             
  2. <script type="text/javascript">  
  3.     <!--  
  4.     // Automatically calculates the editor base path based on the _samples directory.  
  5.     // This is usefull only for these samples. A real application should use something like this:  
  6.     // oFCKeditor.BasePath = ’/fckeditor/’ ;    // ’/fckeditor/’ is the default value.  
  7.     var sBasePath = ’fckeditor/’;   // 環境に合わせた値  
  8.      
  9.     var oFCKeditor = new FCKeditor( ’FCKeditor1’ ) ;  
  10.     oFCKeditor.BasePath    = sBasePath ;  
  11.     oFCKeditor.Height    = 600 ;  
  12.     oFCKeditor.Config ["DefaultLanguage"] = "Ja";  
  13.     //oFCKeditor.ReplaceTextarea();  
  14.     //oFCKeditor.Value    = ’This is some <strong>sample text<\/strong>. You are using <a href="http://www.fckeditor.net/">FCKeditor<\/a>.’ ;  
  15.     oFCKeditor.Create() ;  
  16.     //-->  
  17. </script>  

 公式サイトにもインストール ガイドがあります:http://wiki.fckeditor.net/Developer%27s_Guide/Installation。また、解凍されたファイルの_samplesフォルダの下にはサンプルがあります。


閲覧  |  コメント  |  目次

 
ヘルプ  |  ご利用規約  |  相互リンク  |  問合せ
リンクはご自由に、問合せはお気軽に
©2007 Uprush