Php TinyMCE iframe没有出现

Php TinyMCE iframe没有出现,php,ajax,editor,tinymce,Php,Ajax,Editor,Tinymce,我有一个ajax调用,它将iframe返回给tinyMCE编辑器。轮廓显示,但iframe vid未显示。我在my.init中添加了extended_valid_元素:“iframe[src | width | height | name | align]”,,但它仍然不会显示,这是我能找到的唯一修复方法,有什么建议吗 初始化代码: <script type="text/javascript"> tinyMCE.init({ // General options mode : "te

我有一个ajax调用,它将iframe返回给tinyMCE编辑器。轮廓显示,但iframe vid未显示。我在my.init中添加了
extended_valid_元素:“iframe[src | width | height | name | align]”,
,但它仍然不会显示,这是我能找到的唯一修复方法,有什么建议吗

初始化代码:

<script type="text/javascript">
tinyMCE.init({
// General options
mode : "textareas",
theme : "advanced",
plugins :    "pagebreak,style,layer,table,save,advhr,advimage,advlink,emotions,iespell,inlinepopups,inse rtdatetime,preview,media,searchreplace,print,contextmenu,paste,directionality,fullscreen,noneditable,visualchars,nonbreaking,xhtmlxtras,template",

// Theme options
theme_advanced_buttons1 :  "save,newdocument,|,bold,italic,underline,strikethrough,|,justifyleft,justifycenter,justifyright,justifyfull,|,styleselect,formatselect,fontselect,fontsizeselect",
theme_advanced_buttons2 :  "cut,copy,paste,pastetext,pasteword,|,search,replace,|,bullist,numlist,|,outdent,indent,blockquote,|,undo,redo,|,link,unlink,anchor,image-ajax,cleanup,help,code,|,insertdate,inserttime,preview,|,forecolor,backcolor",
theme_advanced_buttons3 : "tablecontrols,|,hr,removeformat,visualaid,|,sub,sup,|,charmap,emotions,iespell,media-ajax,advhr,|,print,|,ltr,rtl,|,fullscreen",
theme_advanced_buttons4 : "insertlayer,moveforward,movebackward,absolute,|,styleprops,|,cite,abbr,acronym,del,ins,attribs,|,visualchars,nonbreaking,template,pagebreak",
theme_advanced_toolbar_location : "top",
theme_advanced_toolbar_align : "left",
theme_advanced_statusbar_location : "bottom",
theme_advanced_resizing : true,

extended_valid_elements: "iframe[src|width|height|name|align]",

setup : function(ed) {
    ed.addButton("image-ajax", {
        title : "image-ajax",
        cmd : "mceimage-ajax",
        image : "js/img/image-ajax.png", 
        onclick : function() {  
            showModalPopup("image-modal-container"); // open the file upload modal
        }
    }); 

    ed.addButton("media-ajax", {
        title : "media-ajax",
        cmd : "mcemedia-ajax",
        image : "js/img/media-ajax.gif", 
        onclick : function() {  
            showModalPopup("media-modal-container"); // open the file upload modal
        }
    }); 
}
});

tinyMCE.init({
//一般选择
模式:“文本区域”,
主题:“高级”,
插件:“分页符、样式、图层、表格、保存、advhr、advimage、advlink、情感、iespell、inlinepopups、插入rtdatetime、预览、媒体、搜索替换、打印、上下文菜单、粘贴、方向性、全屏、不可编辑、可视光标、不可中断、xhtmlxtras、模板”,
//主题选项
主题_高级_按钮1:“保存、新建文档、|、粗体、斜体、下划线、删除线、|、左对齐、居中对齐、右对齐、满对齐、|、样式选择、格式选择、字体选择、字体大小选择”,
主题高级按钮2:“剪切、复制、粘贴、粘贴文本、粘贴文字、搜索、替换、布利斯特、numlist、outdent、indent、blockquote、|、撤消、重做、链接、取消链接、锚定、图像ajax、清理、帮助、代码、插入日期、插入时间、预览、预览、前颜色、后颜色”,
主题|高级|按钮3:“表格控件,|,hr,removeformat,visualaid,|,sub,sup,|,charmap,情感,iespell,媒体ajax,advhr,|,打印,|,ltr,rtl,|,全屏”,
theme_advanced_按钮4:“插入层、向前移动、向后移动、绝对、|、styleprops、|、引用、缩写、首字母缩写、del、ins、attribs、|、可视光标、非中断、模板、分页符”,
主题\高级\工具栏\位置:“顶部”,
主题\高级\工具栏\对齐:“左”,
主题\高级\状态栏\位置:“底部”,
主题\u高级\u大小调整:正确,
扩展的有效元素:“iframe[src | width | height | name | align]”,
设置:功能(ed){
ed.addButton(“图像ajax”{
标题:“图像ajax”,
cmd:“mceimage ajax”,
图片:“js/img/image ajax.png”,
onclick:function(){
showmodalpoup(“图像模式容器”);//打开文件上载模式
}
}); 
ed.addButton(“媒体ajax”{
标题:“媒体ajax”,
cmd:“mcemedia ajax”,
图片:“js/img/media ajax.gif”,
onclick:function(){
showmodalpoup(“媒体模式容器”);//打开文件上载模式
}
}); 
}
});

没有代码,很难帮助..你能为此创建一个tinymce小提琴吗?我解决了这个问题,删除了
//主题选项
之后的8行,并升级到最新的tinymce版本。我不太清楚那是什么,但这就解决了。