Wordpress 编辑器文本选项卡设计问题? [英] Wordpress Editor text tab design issue?
本文介绍了Wordpress 编辑器文本选项卡设计问题?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我在 wordpress 中尝试了 Wp_editor,因为视觉选项卡工作正常,文本选项卡正在获取列表顺序.
I tried the Wp_editor in wordpress for the visual tab is working fine and the text tab is getting list order.
<?php
$settings = array(
'textarea_name' => 'message1',
'media_buttons' => true,
'tinymce' => array(
'theme_advanced_buttons1' => 'formatselect,|,bold,italic,underline,|,' .
'bullist,blockquote,|,justifyleft,justifycenter' .
',justifyright,justifyfull,|,link,unlink,|' .
',spellchecker,wp_fullscreen,wp_adv'
)
);
wp_editor( '', 'content', $settings );
?>
同样对于可视化编辑器,它应该是这样的
Also For the Visual Editor it should be appear like this
我不知道 wordpress 编辑器会发生什么.
I don't Know what happen to the wordpress editor.
任何建议都会很棒.
推荐答案
最后我自己做了.问题在于代码在表内.最后这是我做的解决方案
Finally I did as My Own. That the Problem is that code is inside the table . Finally here is the solution that i did
<table> <tr class="form-field">
<th valign="top" scope="row">
<label for="subject"><?php _e('Subject')?></label>
</th>
<td>
<input id="subject1" name="subject1" type="text" style="width: 95%" value=""
size="50" class="code" placeholder="<?php _e('')?>" required>
</td>
</tr>
<tr class="form-field">
<th valign="top" scope="row">
<label for="message1"><?php _e('Message')?></label>
</th>
<td>
</td>
</tr>
</tbody>
</table>
<?php
$settings = array(
'textarea_name' => 'message1',
'media_buttons' => true,
'tinymce' => array(
'theme_advanced_buttons1' => 'formatselect,|,bold,italic,underline,|,' .
'bullist,blockquote,|,justifyleft,justifycenter' .
',justifyright,justifyfull,|,link,unlink,|' .
',spellchecker,wp_fullscreen,wp_adv'
)
);
wp_editor( '', 'content', $settings );
?>
这篇关于Wordpress 编辑器文本选项卡设计问题?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文