【问题标题】:WordPress TinyMCE get Content using POSTWordPress TinyMCE 使用 POST 获取内容
【发布时间】:2012-10-07 13:54:52
【问题描述】:

我想将 tinymce 编辑器集成到插件选项页面并保存其值。我用过
wp_editor($content, $editor_id, $settings = array());加载编辑器的功能。但是提交时内容在 $_POST 中不可用

有什么可能的原因吗?

【问题讨论】:

    标签: wordpress


    【解决方案1】:

    测试一下:tinyMCE.get('content id').getContent();

    ;-) 粒子群算法

    【讨论】:

    • 澄清:'content_id'对应$editor_id(wp_editor函数的第二个参数)。
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2011-08-05
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多