【发布时间】:2012-09-10 01:42:05
【问题描述】:
我正在尝试为文本区域激活 TinyMCE。我的代码如下
<?php
wp_editor( '', 'content-id', array( 'textarea_name' => 'txtmessage', 'media_buttons' => false, 'tinymce_adv' => array( 'width' => '300', 'theme_advanced_buttons1' => 'formatselect,forecolor,|,bold,italic,underline,|,bullist,numlist,blockquote,|,justifyleft,justifycenter,justifyright,justifyfull,|,link,unlink,|,spellchecker,wp_fullscreen,wp_adv' ) ) );
echo "\r\n";
echo "\r\n";
echo "\r\n --------Original Message-------- \r\n \r\n";
echo "\r\n\r\n".$reply_message_contentmain;
代码有效。但是,我的问题是回声消息显示在 TinyMCE 区域的底部和外部。任何建议,如何解决?我不是php专家。谢谢,
【问题讨论】:
标签: php wordpress tinymce textarea