简体   繁体   English

WP_editor - URL弹出不起作用

[英]WP_editor - URL popup doesn't work

I was asked to fix a problem with adding an url, while adding a new content via built-in editor. 我被要求修复添加网址的问题,同时通过内置编辑器添加新内容。 Upon clicking the "chain" icon, the little window pops up, true, but then the whole site goes dark, as if jquery modal window has been opened, and the url-popup is hidden behind it. 单击“链”图标后,小窗口弹出,为真,但随后整个网站变暗,就好像打开了jquery模态窗口,并且url-popup隐藏在它后面。

Only one thing is left then, which is clicking a screen to close the popup/modal. 然后只留下一件事,即点击屏幕关闭弹出/模态。

屏幕截图显示了URL弹出窗口的问题

I guess the problem lies with a conflict between wp_editor and one of the plugins (and there are PLENTY of them!) but I cannot locate it. 我想问题在于wp_editor和其中一个插件之间存在冲突(并且有很多插件!)但我无法找到它。

This piece of code initiates the editor: 这段代码启动了编辑器:

 <div class="tinymce-holder"> <?php wp_editor( stripcslashes($_POST['article_content']) ,'article_content', array( 'media_buttons'=> false, 'teeny'=> false, 'wpautop'=> false, 'quicktags'=> false, 'textarea_rows' => 30, 'tinymce' => true ) );?> </div> 

Has anyone seen anything like it and could help me out here? 有没有人见过这样的东西,可以帮助我吗? Any input would be appreciated. 任何输入将不胜感激。

Thanks, 谢谢,

Cheers, 干杯,

Greg 格雷格

阅读本文: http//wpsalt.com/why-wp_editor-doesnt-work/可能就是这样,因为你说有很多插件。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM