hypweb.net
XOOPSマニア  最新情報のRSS(サイト全体)
[ 自宅サーバーWebRing |ID=54 前後5表示乱移動サイト一覧 ]

TOP » UsersWiki » nao-pon » blog » 2013-01-21 の変更点
1: 2013-01-21 (月) 21:12:05 nao-pon ソース
With "attach" plugin. (Created empty)
現: 2013-01-21 (月) 22:13:32 nao-pon ソース
ckeditor4 Version 0.30 リリース, Deleted an attach file: Ckeditor4CustomConfig.class.php at 2013-01-21 (月) 22:13:58, Deleted an attach file: Ckeditor4CustomConfig.class_0.php at 2013-01-21 (月) 22:14:35
Line 1: Line 1:
 +#navi
 +RIGHT:&rsslink(../);
 +#boxdate
 +* ckeditor4 Version 0.29 & 0.30 リリース [#k52087c0]
 +RIGHT:&tag(ckeditor4,XOOPS,XCL,モジュール);
 +
 +ckeditor4 をアップデートして Version 0.30 としました。
 +
 +X-update で更新、もしくは、[[mygithub-download:ckeditor4]] からダウンロードできます。
 +
 +** 更新履歴 [#he3523fd]
 +
 +-[[85f0ad6:https://github.com/nao-pon/ckeditor4/commit/85f0ad66d1b27f8e31eb9c5cd43362e4b715590b]]: add two delegate points for customizing with preload
 +--プリロードで CKEditor をカスタマイズするためのデリゲートを設けました。
 +::Ckeditor4.Utils.PreBuild_ckconfig (& $params)|
 +~Smarty プラグインから呼ばれた直後、Smarty プラグインパラメータ配列 $params を参照渡しで受け取ります。
 +~CKEditor.config を ckeditor4 側で組み立てる前にパラメータを調整できます。
 +::Ckeditor4.Utils.PostBuild_ckconfig (& $config, $params)|
 +~CKEditor.config を ckeditor4 側で管理画面の設定などを元に組み立てたと、第一引数 $config~
 +を参照渡しで、第二引数 $params を値渡しで受け取ります。~
 +~$config は、CKEditor の config の設定キーが、キーとなった配列です。~
 +キーを追加したり、特定のキーの値を変更したりできます。~
 +~実際に CKEditor に渡す時に、値が "[" と "]" で囲まれていない場合は、PHP の json_encode() 関数によって~
 +JSON 形式にエンコードされます。
 +-[[3d82286:https://github.com/nao-pon/ckeditor4/commit/3d82286033b678bd51cc912182e7f304511a91f1]]: set config.width to parent element width
 +--config.width が設定されていない場合に、 TEXTAREA の親要素の幅を config.width に設定するようにした。~
 +(thx mika)~
 +ref.~
 +https://www.facebook.com/groups/xoops.creators/permalink/518991698141240/
 +-[[c363cc1:https://github.com/nao-pon/ckeditor4/commit/c363cc1689f9f95b33af4c1ba883dc34e4dd42a4]]: [template] fix missing style attr
 +--XCL 用テンプレートに style 属性を忘れていたのを修正。
 +-[[64a54c2:https://github.com/nao-pon/ckeditor4/commit/64a54c2cb3e0b4d1ca0da730a592b55dd3856b10]]: Version 0.29
 +-[[6ec6df1:https://github.com/nao-pon/ckeditor4/commit/6ec6df188b25fabca868e26f10724e23024f053e]]: add more one delegat points for customizing with preload
 +::Ckeditor4.Utils.PreParseBuild_ckconfig (& $config, $params)|
 +~CKEditor.config を ckeditor4 側で管理画面の設定などを元に組み立てる前に、第一引数 $config
 +を参照渡しで、第二引数 $params を値渡しで受け取ります。~
 +~Smarty プラグインで指定した toolbar や管理画面:一般設定の config
 +は上書きしません。通常はこのタイミングで問題ありません。~
 +~$config は、CKEditor の config
 +の設定キーが、キーとなった配列です。キーを追加したり、特定のキーの値を変更したりできます。~
 +~実際に CKEditor に渡す時に、値が "[" と "]" で囲まれていない場合は、PHP の json_encode() 関数によって
 +JSON 形式にエンコードされます。
 +-[[7f14918:https://github.com/nao-pon/ckeditor4/commit/7f14918ed8c07a4929957b93dfaca347365a7462]]: Version 0.30
 +
 +** プリロードでの CKEditor の設定変更について [#s80b20d6]
 +
 +Version 0.29 から、プリロードを使って CKEditor.config の設定が行えるようになりました。
 +
 +これにより、テーマに合わせた CKEditor の config をプリロードと共に配布するなど、様々な用途に使えると思います。
 +
 +サンプルのプリロードを作ってみました。こんな感じです。
 +
 +#code(Ckeditor4CustomConfig.class.php)
 +
 +RIGHT:&font(90%){&page_comments;};
 +#navi


トップ   差分 バックアップ 複製 名前変更 リロード印刷に適した表示   ページ新規作成 全ページ一覧 単語検索 最新ページの一覧   ヘルプ   最新ページのRSS 1.0 最新ページのRSS 2.0 最新ページのRSS Atom Powered by xpWiki
Counter: 557, today: 1, yesterday: 1
このページのTopへ
メインメニュー
ログイン

ユーザー名:


パスワード:





パスワード紛失  |新規登録
最近の更新
オンライン状況
691 人のユーザが現在オンラインです。 (9 人のユーザが UsersWiki を参照しています。)

登録ユーザ: 0
ゲスト: 691

もっと...
サイト情報