Nucleus(JP)フォーラム

NucleusCMS日本語版ユーザーのためのサポートフォーラムです。疑問が生じたらまずは記事検索をご利用ください。

ログインしていません。

#1 2008-04-15 01:42:54

yama
Administrator
登録日: 2005-07-07
投稿: 1,298
ウェブサイト

Re: NP_TinyMCE - Nucleusの投稿画面をWYSIWYGに

https://github.com/yama/NP_TinyMCE

  • 標準のメディアマネージャmedia.phpの代わりに、NP_Mediatocuと組み合わせて使うことができます

  • NP_CustomThumbnailと組み合わせることにより、モーダル効果による拡大画像ポップアップを手軽に実装できます

  • 日本人好みの携帯絵文字プラグインがあります

  • 投稿記事のひな型を作ることができます。NP_ItemFormatのような使い方ができます。ただし現時点ではプラグインオプションなどによる手軽な実装には対応しておらず、ソースを直接書き換える必要があります。需要があれば対応を検討します。

などの特長があります。

●使用上の注意

  • 記事中に<%xxxxx%>と記述すると、エンティティ変換を通じてそのままブラウザに表示します。Nucleusのタグとして展開させたい場合は先頭にトリガー文字「@」を付けて@<%xxxxx%>としてください。
    3888678278_78e3dc4239_o.png

  • 改行は「シフト+エンター」です。エンターのみを打鍵するとパラグラフを自動認識しpタグで囲みます。<br />タグを入力するようにオプション設定で挙動を変更することもできます。

  • ツールバーによる機能実装は必要に応じて本家ドキュメントを参考にカスタマイズしてください。ツールバーのカスタマイズはプラグインオプションと、ユーザ各自のメンバーオプションの両方で行なうことができ、メンバーオプションのほうがツールバーの段数を多く持たせることができます。

  • 細い枠線の表組みを作る方法についてはこちら。cellspacingを使わずCSSだけでスマートに記述することもできます。

  • UIキャッシュを有効にすることで、さらに軽快になります。plugins/tinymce/temp/ を書き込み可にしたうえで、プラグインオプションで「GZip圧縮を使用しUIを一括出力」を「はい」に設定してください。

  • NP_TinyMCE導入以前に投稿された画像の<%image%>タグはTinyMCEでは画像として表示できません。NP_NCTagConvをインストールし、NP_TinyMCEより先に実行されるように管理画面のプラグイン一覧の順番を調整してください。あるいは(1)NP_NCTagConv (2)NP_TinyMCEの順番でインストールしてください。これにより、投稿画面を開いた時点で<%image%>タグが<img />タグに自動的に変換されるようになります。一度<img />タグに変換されたら、元の<%image%>タグには戻さないため、テンプレートで<%image%>タグを扱うプラグイン(サムネイル処理系など)を併用している場合は注意してください。

  • 左揃えボタン・右揃えボタンそれぞれで画像などブロック要素の左寄せ・右寄せができますが、これらは実際のソース上では「class="justifyleft"」などを出力します。これらのスタイルを利用したい場合は、サイトの表示に用いるスタイルシート内にjustifyleft・justifyrightそれぞれのclassの定義を追加してください。

.justifyleft    {border:1px dotted #ccc; padding:7px; float:left; margin-right:12px;clear:both;margin-bottom:7px;}
.justifyright   {border:1px dotted #ccc; padding:7px; float:right; margin-left:12px;clear:both;margin-bottom:7px;}

オフライン

#2 2008-04-15 01:44:26

yama
Administrator
登録日: 2005-07-07
投稿: 1,298
ウェブサイト

Re: NP_TinyMCE - Nucleusの投稿画面をWYSIWYGに

さっそくTinyMCE本体がアップデートされているようなので、同梱し直して当トピの先頭に…って、
すぐ上ですがアップしておきます。
アップデート内容は以下のとおり。ほとんどバグフィックスです。

http://tinymce.moxiecode.com/punbb/view ... p?id=11154

Change log:
Added new version suffix to all internal GET requests to make sure that the users cache gets cleared correctly.
Fixed issue with isDirty returning true event if it wasn't dirty on IE due to changes in tables during initialization.
Fixed memory leak in IE where if a page was unloaded before all images on the page was loaded it would leak.
Fixed bug in IE where underline and strikethrough could produce an exception error message.
Fixed bug where inserting paragraphs in totally empty table cells would produce odd effects.
Fixed bug where layer style data wasn't updated correctly due to some performance enhancements with the DOM serializer.
Fixed bug where it would convert the wrong element if there was two elements with the same name and id on the page.
Fixed bug where it was possible to add style information to the body element using the style plugin.
Fixed bug where Gecko would add an extra undo level some times due to the blur event.
Fixed bug where the underline icon would get active if the caret was inside a link element.
Fixed bug where merging th cells not working correctly. Patch contributed by André R.
Fixed bug where forecolorpicker and backcolorpicker buttons where rendered incorrectly when the o2k7 skin was used.
Fixed bug where comment couldn't contain -- since it's invalid markup. It will now at least not break on those invalid comments.
Fixed bug where apos wasn't handled correctly in IE. It will now convert apos to ' on IE since that browser doesn't support that entity.
Fixed bug where entities wasn't encoded correctly inside pre elements since they where protected from whitespace removal.
Fixed bug where color split buttons where rendered incorrectly on IE6 when using the non default theme.
Fixed so caret is placed after links ones they are created, to improve usability of the editor.
Fixed so you can select tables by clicking on it's borders in non IE browsers to normalize the behavior.
Fixed so the menus can be toggled by clicking once more on the icon in listboxes, menubuttons and splitbuttons based on code contributed by Josh Peek.
Fixed so buttons can be labeled, currently only works with the default skin, so it's kind of experimental. Patch contributed by Daniel Insley.
Fixed so forecolorpicker and backcolorpicker remembers the last selected color. Patch contributed by Shane Tomlinson.
Fixed so that you can only execute the mceAddEditor command once for the same instance name.
Fixed so command functions added with addCommand can pass though the call to default handles if it returns true.

オフライン

#3 2008-05-04 19:26:21

yama
Administrator
登録日: 2005-07-07
投稿: 1,298
ウェブサイト

Re: NP_TinyMCE - Nucleusの投稿画面をWYSIWYGに

TinyMCE本体の最新版、3.0.8がリリースされました。

http://tinymce.moxiecode.com/download.php
上記からtinymce_3_0_8.zipをダウンロードし、「tinymce/jscripts」以下をそのまま上書きするだけで
アップデート完了です。

アップデート内容は下記のとおり。
http://tinymce.moxiecode.com/punbb/view ... p?id=11367

新規にNP_TinyMCEをインストールする方のために、NP_TinyMCEも最新の3.0.8にアップデートしておきます。

オフライン

#4 2008-05-04 20:04:11

yama
Administrator
登録日: 2005-07-07
投稿: 1,298
ウェブサイト

Re: NP_TinyMCE - Nucleusの投稿画面をWYSIWYGに

問題点をひとつ認識しました。もしかすると、だいぶ前からあった問題かもしれませんが。
MS-IMEで日本語を入力している場合(多くのユーザがそうだと思いますが)、変換+確定の次に
文字を入力しようとすると、すでに入力した文字が消えてしまうという問題があるようです。
僕がこの問題に気付かなかったのは、JapanistというマイナーなIMEを使っているからでした。
(マイナーなIMEで問題ないからと、逆に安心してましたが)

対応方法は2つあって、ひとつはプラグインオプションで「改行キーの動作」を「<br />を挿入」にすること。
もうひとつは少し手間がかかりますが、libs/include/admin-add.templateをテキストエディタで開いて

<textarea <%jsinput(body)%> tabindex="20" cols="60" rows="20">
<%contents(body)%></textarea>

の部分を

<textarea <%jsinput(body)%> tabindex="20" cols="60" rows="20">
<p></p></textarea>

または

<textarea <%jsinput(body)%> tabindex="20" cols="60" rows="20">
<p><%contents(body)%></p></textarea>

このように書き換える方法、です。
(※ここの<%contents(body)%>って、意味あるんでしょうか?)
コアを書き換えるのに抵抗ある人はNP_znCustomAdminを利用するといいかもしれません。

つまり、TinyMCEが文書をValidに保つためのpタグ変換機能とIMEとの相性の問題のようです。

追記
NP_TinyMCE側で対応しました。
http://code.google.com/p/nucleus-plugins-ja/
少しの変更なのでこちらに上げておきました。

オフライン

#5 2008-05-09 22:19:31

きゃしゃ
メンバー
From: 北河内
登録日: 2007-12-15
投稿: 352

Re: NP_TinyMCE - Nucleusの投稿画面をWYSIWYGに

3.0.8np1ですが、admin-add.templateに変な改行が入ってるので、
moreのtextareaがリプレイスできてないです。

と、いうか。
あたしのテスト環境(xrea-free)ではinputbody部が使えなくなってます。
ob_get_contents()でHTMLの下の方(moreの直前あたり)からしか取得できず、
inputbodyにclassをリプレイスできずに、TinyMCEが流し込めないようです。

あと、ブックマークレット未対応ですね。

オフライン

#6 2008-05-18 13:46:54

yama
Administrator
登録日: 2005-07-07
投稿: 1,298
ウェブサイト

Re: NP_TinyMCE - Nucleusの投稿画面をWYSIWYGに

了解です。NP_znItemFieldEX等との連携を考えて、今回のような仕様にしたのですが。
気をつけて見てみます。(いろいろあって、対応がだいぶ遅れそうですが)

オフライン

#7 2008-05-23 12:02:18

ysjack
メンバー
登録日: 2006-10-05
投稿: 74

Re: NP_TinyMCE - Nucleusの投稿画面をWYSIWYGに

本家版Nucleus CMS v3.32との組み合わせでVersion: 3.0.8を使っていますが、一つ問題があるのでお聞きします。
Tiny上で新しいユーザーフォルダーを作るときにそのフォルダーのパーミッションが755でできあがり、環境によってはフォルダーの観覧が出来ないようです。
実際にやってみて、日本の私の環境ではなんら問題ないように思われましたが、海外からアクセスしている編集者は「Not parmission folder    GO TO BACK」が表示されています。
FTPで直接「Tiny上で新しく作ったユーザーフォルダー」のパーミッションを「777」に変更すると問題は解決されます。

これは仕様なのでしょうか?

それからサイトから直接「edit」するときには編集画面に「Tiny」はでません。何かセッティングが必要ですか?

アドバイスをお願い致します。

オフライン

#8 2008-05-24 08:52:49

yama
Administrator
登録日: 2005-07-07
投稿: 1,298
ウェブサイト

Re: NP_TinyMCE - Nucleusの投稿画面をWYSIWYGに

TinyMCE自体にはファイル操作の機能はなくて、同梱のmedia.phpかNP_Mediatocuなどの問題では
ないかと思いますが。もう少し詳細に情報いただけますか。

> それからサイトから直接「edit」するときには編集画面に「Tiny」はでません

原因は分かっていてすぐに直せるのですが、ちょっと時間がなくて対応を後回しにしてます。
すいませんが3.0.7のほうを使ってください。ファイルNP_TinyMCE.phpだけを3.0.7から
抜き出して上書きするだけでいいですよ。

オフライン

#9 2008-05-25 00:24:50

きゃしゃ
メンバー
From: 北河内
登録日: 2007-12-15
投稿: 352

Re: NP_TinyMCE - Nucleusの投稿画面をWYSIWYGに

よく解らないなりに、現象の辻褄が合うよう行間をおもいっきり補完して解釈してみました。無理矢理です。
誤解があったら指摘下さい。失礼なほどねじ曲がった解釈してますので、違ったら素直に謝ります。

ysjack さんの発言:

Tiny((MCE)から呼び出した"NP_Mediatocu")上で新しい(、)ユーザー(による任意作成の)(サブ)フォルダーを("ユーザーフォルダ(Private)"Collection配下に)作るときにそのフォルダーのパーミッションが755でできあがり、(ホスティングサーバの)環境によっては(ブラウザからディレクトリのURLを直接指定した際に"Index of /"が表示されず)フォルダーの観覧(すなわち"Index of /"によるファイル一覧)が出来ないようです。
実際にやってみて、日本の私の環境では(Nucleus上からのファイル操作において)なんら問題ないように思われましたが、海外からアクセスしている編集者は(ブラウザで直接ディレクトリのURLを叩くと)「Not pa(|e)rmission folder    GO TO BACK」が(403エラーのメッセージとしてブラウザウインドウに)表示されています(ということらしいです)
FTPで直接「Tiny上で新しく作ったユーザーフォルダー(注釈略)」のパーミッションを「777」に変更すると("Index of /"の)問題は解決されます(と海外の編集者から報告がありました)

これは仕様なのでしょうか?

この解釈でよろしいならば、回答は

A.(ホスティングサーバの)仕様です。

ということになるかと。

#media.phpでもNP_Mediatocuでも新規にユーザーIDでmedia直下に作られるフォルダは777になるはずだし、NP_Mediatocuが755で作るサブフォルダもNP_Mediatocuからのファイル閲覧でそういったエラーメッセージが出るとは考えられないし。


これだけではイジワルなんで、NP_Mediatocuをパーミッション777でフォルダ作るようにしました。
でもNP_Mediatocu上でサムネイル一覧する方が絶対使い勝手いいと思いますけど。

5/26追記
#やっぱり無理があるよなぁ。755と777で403エラー変わらないよねぇ?
#サムネイルが生成されないとかアップロードできないとかならともかく……

オフライン

#10 2008-06-10 02:11:59

yama
Administrator
登録日: 2005-07-07
投稿: 1,298
ウェブサイト

Re: NP_TinyMCE - Nucleusの投稿画面をWYSIWYGに

http://tinymce.moxiecode.com/punbb/view ... p?id=11781
TinyMCE本体(?)のv3.0.9が出ました。
jscriptsディレクトリ以下をそのまま上書きすればアップデート完了です。(試してませんが大丈夫なはず)
宿題着手は夏ごろになりそう。

オフライン

#11 2008-06-19 13:36:17

yumi saiki
メンバー
From: 大阪府高槻市
登録日: 2007-07-27
投稿: 118
ウェブサイト

Re: NP_TinyMCE - Nucleusの投稿画面をWYSIWYGに

普段、FireFox ばかり使っていて気がつかなかったのですが、
IEにしたら使えないというか、バーが見えないのですが、これってどうしようもないのですか?

http://www.dakiny.com/tinymce/archives/2007/04/ie7.html

というのを見て、動かないのならしかたないなと。

でも、私のPC コア2ですが。

ちなみに、IE6でも見えないです。


http://tinymce.moxiecode.com/punbb/view … hp?id=4898

という私とまったく同じ状況の方もいるみたいですが、wikiで使えるようにするというもので、nucleusにはどうなるのでしょうか?

ご存知の方お願いします。

お客さんにFIREFOX入れてもらったらいいことなんですけど。
IE6とかが実際はまだまだ多いので。


yumi saiki
今日も勉強しました!
************************
教えてください。よろしくお願いします。

オフライン

#12 2008-06-19 14:32:39

yumi saiki
メンバー
From: 大阪府高槻市
登録日: 2007-07-27
投稿: 118
ウェブサイト

Re: NP_TinyMCE - Nucleusの投稿画面をWYSIWYGに

lol
一つ上の最新リリーズの情報を見て、まさにIEで見れないのを解決というので、
まだ作りかけのにやってみました。

http://tinymce.moxiecode.com/download.php

まさに最新?tinymce_3_1_0_1.zip です。

jscripts フォルダだけを上書きで入れて、プラグインの一覧で抜いて入れなおしたら動きました=!

でも、なぜか続きの画面は表示されてなくて上の部分だけなのです。

で、編集いじってみたら、また見たら消えていた。

元にもどしても消えていた。

なぜでしょう。

ご報告まで。


yumi saiki
今日も勉強しました!
************************
教えてください。よろしくお願いします。

オフライン

#13 2008-06-19 15:23:51

きゃしゃ
メンバー
From: 北河内
登録日: 2007-12-15
投稿: 352

Re: NP_TinyMCE - Nucleusの投稿画面をWYSIWYGに

[size=150:1x4c8oio]NP_TinyMCEのバージョンを、まず。

オフライン

#14 2008-06-19 15:26:19

yumi saiki
メンバー
From: 大阪府高槻市
登録日: 2007-07-27
投稿: 118
ウェブサイト

Re: NP_TinyMCE - Nucleusの投稿画面をWYSIWYGに

ここの最新というものを使ってます。
NP_TinyMCE3.0.8

3.0.7 に落としても同じでした。


yumi saiki
今日も勉強しました!
************************
教えてください。よろしくお願いします。

オフライン

#15 2008-06-19 15:33:28

藤咲
Administrator
From: 広島
登録日: 2003-11-17
投稿: 1,211
ウェブサイト

Re: NP_TinyMCE - Nucleusの投稿画面をWYSIWYGに

yumi saiki さんの発言:

なぜでしょう。

プラグインはNP_TinyMCE3.0.8で、NP_TinyMCE3.1.0ではなく、3.0.8用のものだからではないでしょうか。
NP_TinyMCE3.0.8.とTinyMCE3.0.9では確認しているみたいですが、3.10での確認はされていないようです。
つまり、なぜでしょうといわれれば、3.1.0には対応してないのでは?という回答になるかと。


藤咲
備忘録とかもろもろ
http://fjsk.tk/

オフライン

#16 2008-06-19 15:40:37

きゃしゃ
メンバー
From: 北河内
登録日: 2007-12-15
投稿: 352

Re: NP_TinyMCE - Nucleusの投稿画面をWYSIWYGに

おにょ。3.0.7でもダメですか。
NP_TinyMCE3.0.7.zipをそっくりアップしてあるんですよね。
ファイルNP_TinyMCE.phpがNP_TinyMCE3.0.8.zipのものってことないですよね。

んでは、"GZip圧縮を使用しUIを一括出力"を"いいえ"にしてみてください。

オフライン

#17 2008-06-19 15:41:33

yumi saiki
メンバー
From: 大阪府高槻市
登録日: 2007-07-27
投稿: 118
ウェブサイト

Re: NP_TinyMCE - Nucleusの投稿画面をWYSIWYGに

もう一回 同じことしてみたら、やはり1回だけ出て、また真白になりました。

リリースを待ちます。

私のアホな頭で考えて、
原因はCSSではないだろうかと思うのですが、それらしい場所がどこかわかりません。

仕事が進まないから、気になるけど断ち切って前に進みます。

賢い方、よろしく頼みます。


Zip圧縮を使用しUIを一括出力を「いいえ」でも同じでした。他の人はどうなんでしょうか?
ちなみにサーバーはFASネットです。


yumi saiki
今日も勉強しました!
************************
教えてください。よろしくお願いします。

オフライン

#18 2008-06-19 17:03:06

きゃしゃ
メンバー
From: 北河内
登録日: 2007-12-15
投稿: 352

Re: NP_TinyMCE - Nucleusの投稿画面をWYSIWYGに

TinyMCE3.1.0.1にNP_TinyMCE3.0.7のNP_TinyMCE.phpを組み合わせただけのものですが、
あたしとこでは動作してます。


Attachments:
gif 3101.gif, Size: 21.32 KiB, Downloads: 24,372

オフライン

#19 2008-06-19 17:16:09

きゃしゃ
メンバー
From: 北河内
登録日: 2007-12-15
投稿: 352

Re: NP_TinyMCE - Nucleusの投稿画面をWYSIWYGに

以前にも、返答を「編集」でこっそり追加しないで欲しいとお願いしたんですが。

adminエリアをカスタマイズするプラグイン使ってますよね、たしか。
それ外してみましょうよ。

それと、
公式デモを試してみれば、
TinyMCE側の問題かNP_TinyMCE側の問題か切り分けできると思うんですが。

オフライン

#20 2008-06-19 18:57:15

yumi saiki
メンバー
From: 大阪府高槻市
登録日: 2007-07-27
投稿: 118
ウェブサイト

Re: NP_TinyMCE - Nucleusの投稿画面をWYSIWYGに

なるほどなと思って、

カスタムアドミンをはずしたら、IEでも使えました。

ありがとうございました。 なんかがぶつかるのでしょうね。

連続投稿におそれをなし編集ですみません。

ありがとうございました。


yumi saiki
今日も勉強しました!
************************
教えてください。よろしくお願いします。

オフライン

#21 2008-06-29 10:40:06

whoknows
メンバー
登録日: 2006-03-24
投稿: 16

Re: NP_TinyMCE - Nucleusの投稿画面をWYSIWYGに

NP_TinyMCEを便利に使わせていただいています。
もしかして基本機能に含まれているのかもしれませんが、またフォーラム内も探したのですが、自分ではわからなかったので教えてください。既出の質問でしたら、ご指摘いただければと思います。

件名の通りなのですが、PDFをアップロードして、例えば「ダウンロード(123KB)」というテキストにリンクを張り、クリックするとそのPDFをダウンロード、表示できるようにしたいのです。
画像の挿入、mediaの挿入とためしてみたのですが、それぞれ指定されたタイプ用のタグになるようで、希望しているようにはなりませんでした。

実現するにはどうしたらよいでしょうか、よろしくお願いいたします。

オフライン

#22 2008-06-29 15:39:42

whoknows
メンバー
登録日: 2006-03-24
投稿: 16

Re: NP_TinyMCE - Nucleusの投稿画面をWYSIWYGに

自己レスです。
すいません。やはり基本機能を見落としていました。解決しました。

リンクを張る機能は、URLを書くだけでなくて、アップロードしたファイルがブラウズできるようになっているのですね。

お騒がせしました。

オフライン

#23 2008-07-27 21:57:36

yama
Administrator
登録日: 2005-07-07
投稿: 1,298
ウェブサイト

Re: NP_TinyMCE - Nucleusの投稿画面をWYSIWYGに

最新版をリリースしました。きゃしゃさんのv3.1.0.1をベースに、同梱のTinyMCE compressorを
最新のv2.0.2にアップデートしました。Nucleusプラグインとしての機能は変わってません。

オフライン

#24 2008-08-20 10:11:05

yama
Administrator
登録日: 2005-07-07
投稿: 1,298
ウェブサイト

Re: NP_TinyMCE - Nucleusの投稿画面をWYSIWYGに

<!-- l --><a class="postlink-local" href="http://japan.nucleuscms.org/bb/viewtopic.php?t=3949">viewtopic.php?t=3949</a><!-- l -->
最新版をリリースしました。同梱のTinyMCEコア一式をV3.1.1にアップデートしただけです。軽いチェックしかしていないので、何か不具合があった場合はひとつ前のバージョンに戻してください。できれば報告もお願いします。
今回のアップデート内容は下記のとおり。

http://tinymce.moxiecode.com/punbb/view ... p?id=12720

Added new getSize method to DOMUtils it will return the dimensions only of an element.
Added new alert/confirm methods to the tinyMCEPopup class to prevent focus problems and also to shorten method calls.
Added new plugin_preview_inline option to preview plugin to enable/disable native/inline dialogs.
Added new readonly option. If this is set the editor will only display the contents for the user.
Added missing tabindex and accesskey to input elements in the default valid_elements setup.
Updated firebug lite to 1.2, to enable it use the tiny_mce_dev.js?debug=1 on the development package.
Fixed so the preview dialog in the preview plugin uses inline dialogs/popups.
Fixed so CDATA sections remains intact through the serialization process of the DOM tree.
Fixed various issues with the getAttrib command. It will now return more correct values.
Fixed bug where the embed element wasn't properly parsed in the media plugin it now supports 3 formats.
Fixed bug where the noshade attribute was serialized incorrectly on IE.
Fixed bug where editing an existing link element didn't force it relative.
Fixed bug where image link creation fails on Safari if the image is aligned.
Fixed bug where it was possible to scroll the fullscreen mode in Opera 9.50.
Fixed bug where removal of center image alignment would fail. Patch contributed by Andrew Ozz.
Fixed bug where inlinedialogs didn't work properly if the doctype was incorrect in IE.
Fixed bug where cross domain loading didn't work correctly in Opera 9.50.
Fixed bug where breaking huge text blocks with return/enter key would scroll to end of block.
Fixed bug where replace button kept inserting the replacement text even if there is no more matches.
Fixed bug with fullpage plugin where value wasn't set correctly. Patch contributed by Pascal Chantelois.
Fixed bug where the dom utils setAttrib method call could produce an exception if the input was null/false.
Fixed bug where pressing backspace would sometimes remove one extra character in Gecko browsers.
Fixed bug where the native confirm/alert boxes would move focus to parent document if fired in dialogs.
Fixed bug where Opera 9.50 was telling you that the selection is collapsed even when it isn't.
Fixed bug where mceInsertContent would break up existing elements in Opera and Gecko.
Fixed bug where TinyMCE fails to detect some keyboard combos on Mac, contributed by MattyRob.
Fixed bug where replace all didn't move the caret to beginning of text before searching.
Fixed bug where the oninit callback wasn't executed correctly when the strict_loading_mode option was used, thanks goes to Nicholas Oxhoej.
Fixed bug where a access denied exception was thrown if some other script specified document.domain before loading TinyMCE.
Fixed so setting language to empty string will skip language loading if translations are made by some backend.
Fixed so dialog_type is automatically modal if you use the inlinepopups plugin use dialog_type : "window" to re-enable the old behavior.

オフライン

#25 2008-09-17 23:57:04

yama
Administrator
登録日: 2005-07-07
投稿: 1,298
ウェブサイト

Re: NP_TinyMCE - Nucleusの投稿画面をWYSIWYGに

<!-- l --><a class="postlink-local" href="http://japan.nucleuscms.org/bb/viewtopic.php?t=3949">viewtopic.php?t=3949</a><!-- l -->
Ver3.2をリリースします。同梱のTinyMCEコアをVer3.2に差し替えました。
NP_TinyMCEの機能としては、古いfunctionを廃止し <%xxxxx%>などの
Nucleusタグを記事として書くことができるようにしました。
※アイテム変数として記述することはできません。

TinyMCEコアVer3.2のアップデート内容は以下のとおり。

http://tinymce.moxiecode.com/punbb/view ... p?id=13028
Version 3.2 (2008-09-11)
    Added new text style support, it will now use span elements internally instead of font elements.
    Added new improved support for the theme_advanced_font_sizes option, check the Wiki for details.
    Added new keep_style setting that maintains the text style on return/enter on non IE browsers, enabled by default.
    Added new onBeforeSetContent/onBeforeGetContent/onSetContent/onGetContent events to the Selection class.
    Added new selectByIndex method to ListBox class. This enables you to select list items by an index instead of a value.
    Added new possibility to the select method of the ListBox class. This can now have a selector function as it's value argument.
    Added new possibility to skip the loading of popups css by setting the feature popup_css to the value false.
    Added new possibility to skip translation of popups by setting the translate_i18n feature to false.
    Added new element_format option enables you to produce HTML element endings instead of XHTML. But we are still in the XHTML is better camp.
    Added missing allowfullscreen and quality options for flash elements, this will now get correctly stored.
    Fixed bug where table cell dialog didn't close properly unless the accessibility_warnings option was set to false.
    Fixed bug where the modal dialog blocker element for inlinepopups wasn't placed at a correct location if the page had scroll.
    Fixed bug where non inline dialogs didn't close correctly if the inlinepopups plugin was used.
    Fixed bug where non inline dialogs could make the modal dialog blocker to work incorrectly.
    Fixed bug where style select wasn't populated correctly if you pressed the arrow. Patch by Hari Karam Singh.
    Fixed bug where toggling the fullscreen mode didn't restore scrollbars on IE when the editor was inside a frame. Patch by Jacob Barrett.
    Fixed bug where inserting flash contents using the template plugin didn't work correctly.
    Fixed bug where inserting flash contents using the selection.setContent or mceInsertContent command didn't work correctly.
    Fixed bug where IE would produce an exception if a comment started with -.
    Fixed bug where the blockquote button would wrap lists incorrectly on non IE browsers.
    Fixed bug where Opera would display BR elements in the element path.
    Fixed bug where xhtmlxtras didn't insert elements correctly on IE.
    Fixed bug where the buttons wasn't activated correctly in the xhtmlxtras plugin.
    Fixed bug where adding an object as the style attribute for the dom setAttribs method wouldn't work.
    Fixed bug where the background color would bleed out to parent container element in Gecko.
    Fixed bug where the insert column actions for tables would fail if you did it in a thead or tfoot. Patch contributed by T Andersen (tan73).
    Fixed bug where event blocker element wasn't positioned correctly for the inlinepopups plugin.
    Fixed bug where pasting from Office 2007 would produce an odd comment in the contents.
    Fixed bug where the paste as plain text could remove an extra character. Patch contributed by Speednet.
    Fixed bug where some characters where missing for the paste_replace_list option. Patch contributed by Speednet.
    Fixed bug where removing non existing editor instances by the mceRemoveControl command would produce an error.
    Fixed bug where meta elements with the name description would produce errors in IE.
    Fixed bug where color and background colors wouldn't be updated properly.
    Fixed bug where the createMenuButton of tinymce.ControlManager didn't implement the last class argument.
    Fixed bug where the editor_css option was relative from the TinyMCE installation directory not the current page.
    Fixed bug where elements wouldn't be padded if the element contained bogus br elements. For example TD elements.
    Fixed bug where parsing of <body > in fullpage plugin would produce an error.
    Fixed bug where relative urls with just ./ would become an empty string.
    Fixed bug where outdent button would be disabled if inline_styles where set to false.
    Fixed bug where replace with an empty search string would produce an error on IE.
    Fixed bug where restoring the overflow state of the body in fullscreen plugin running on IE would produce vertical scrollbars.
    Fixed bug where pressing return/enter in list items would sometimes move the caret the to top of the content area in FF.
    Fixed bug where the style listbox wouldn't be updated correctly if you used the use_native_selects option.
    Fixed bug where WebKit browsers would produce a div element when ending list elements using return.
    Fixed so translation of popup contents only occurs if it's needed.
    Optimized the URI object in regards or converting absolute URIs to relative URIs.

オフライン

Board footer