16th Fri
TinyMCE導入メモ: Ver. 2.1.2
(注) 続きも書きました。advlinkなど。
TinyMCE本家サイト、TinyMCE wikiがあります。
まとめ
- 導入サンプルhttp://wiki.moxiecode.com/index.php/TinyMCE:Installation#The_most_basic_page_integration_.28converts_all_textarea_elements_into_editors.29
- toolbarカスタマイズ
http://wiki.moxiecode.com/examples/tinymce/installation_example_03.php
ツールバーボタンの追加削除、ツールバーを左寄せ・上に表示などのカスタマイズ、パスを下に表示など。 - サポートされているHTMLタグ
http://wiki.moxiecode.com/index.php/TinyMCE:Control_reference
(注) delタグなどは、xhtmlxtrasプラグインでサポートされている。 - プラグイン作成の仕方
http://wiki.moxiecode.com/index.php/TinyMCE:Creating_Plugin - tinyMCEで用意されている関数
http://wiki.moxiecode.com/index.php/TinyMCE:Functions
外から呼び出す関数の一覧がwikiトップからリンクされてなくて、苦労しました。tinyMCE.updateContent
tinyMCE.getContent
またRailsへの導入の仕方の記事もrubyonrails.orgにあります(現時点で2007年9月更新)。
posted by
satoko on Fri 16 Nov 2007 at 16:58 with 0 comments