私は自分のニュース ページ用に tinymce をセットアップする作業を行っていましたが、カスタム プレビュー ページをデザインすることができました。もうひと踏ん張りしたつもりだったのに…。
ポップアップではなく iframe でプレビュー ウィンドウをロードするように tinymce を設定するにはどうすればよいですか?
同じウィンドウで結果をプレビューしたいと思います。
TinyMCE 構成:
tinyMCE.init({
posttitle : "<?php echo $title;?>",
// General options
mode : "exact",
elements: "message",
theme : "advanced",
plugins : "pagebreak,style,advhr,advimage,advlink,preview,searchreplace,paste,visualchars,nonbreaking,xhtmlxtras,imagemanager",
// Theme options
theme_advanced_buttons1 : "bold,italic,underline,strikethrough,|,copy,paste|,search,replace,|,blockquote,|,undo,redo,|,link,unlink,image,cleanup,code,|,preview,|,advhr,visualchars,nonbreaking,visualblocks",
theme_advanced_buttons2 : "",
theme_advanced_buttons3 : "",
theme_advanced_toolbar_location : "top",
theme_advanced_toolbar_align : "left",
theme_advanced_statusbar_location : "bottom",
theme_advanced_resizing : false,
content_css : "custom_tinymce.css?v=1",
plugin_preview_pageurl : "preview_tinymce.html",
plugin_preview_width : "540",
plugin_preview_height : "400",
width: "100%",
height: "200"
});