微小的mce在聪明中弹出空白

时间:2010-04-16 08:13:06

标签: smarty

我使用的是小巧的mce,但它会显示空白的弹出窗口,例如图像,锚点,预览按钮。我在tpl文件中使用的代码是

  

'{}字面      tinyMCE.init({//常规选项模式   :“textareas”,主题:“高级”,   插件:   “Safari浏览器,分页符,样式,图层,表,保存,advhr,的advimage,advlink,情感,iespell,inlinepopups,insertdatetime,预览,媒体,searchreplace,打印,文本菜单,粘贴,方向性,全屏,不可编辑,visualchars,不间断,xhtmlxtras ,模板”,

     

//主题选项   theme_advanced_buttons1:   “节约,新建文档,|,粗体,斜体,下划线,删除线,|,证明左边,中间对齐,证明右边,justifyfull,styleselect,formatselect,fontselect,fontsizeselect”   theme_advanced_toolbar_location:   “top”,theme_advanced_toolbar_align:   “剩下”,   theme_advanced_statusbar_location:   “bottom”,theme_advanced_resizing:   真,

     

//示例内容CSS(应该是你的   site CSS)content_css:   “CSS / content.css”,

     

//删除列表   链接/图像/媒体/模板对话框   template_external_list_url:   “列表/ template_list.js”   external_link_list_url:   “列表/ link_list.js”   external_image_list_url:   “列表/ image_list.js”   media_external_list_url:   “清单/ media_list.js”,

     

//替换模板的值   插件template_replace_values:{   用户名:“Some User”,staffid:   “991234”}}); {/文字}`

1 个答案:

答案 0 :(得分:0)

问题通过使用来解决 document.domain = 'mydomain.com';

上面是一个在tpl文件中初始化tinymce脚本的地方。 并取消注释document.domain ='mydomain.com';在tinymce popup.js文件中。

相关问题