我怎样才能用tinymce打开一个新的空白窗口?
我找到了这段代码:
ed.windowManager.open({
file: url + '/youtube.htm',
width: 320 + parseInt(ed.getLang('example.delta_width', 0)),
height: 120 + parseInt(ed.getLang('example.delta_height', 0)),
inline: 1
}
但我不知道如何使用它打开一个空白的新窗口,有人可以帮助我吗?
谢谢。
I found this code:
ed.windowManager.open({
file: url + '/youtube.htm',
width: 320 + parseInt(ed.getLang('example.delta_width', 0)),
height: 120 + parseInt(ed.getLang('example.delta_height', 0)),
inline: 1
}
but i don't know how to use it to open a blank new window, could someone help me?
thanks.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可以使用这个(没有tinymce解决方案)
这里是有关如何使用所有可能选项的教程的链接:http://www.javascript-coder.com/window-popup/javascript-window-open.phtml
这里是一些可以在tinymce上运行的代码,并且很容易与tinymce编辑器实例通信:
You may use this (no tinymce solution)
Here is a link to a tutorial on how to use all possible options: http://www.javascript-coder.com/window-popup/javascript-window-open.phtml
Here is some code that will work from tinymce and is easily able to communicate with the tinymce editor instance: