mirror of
https://github.com/WordPress/WordPress.git
synced 2024-11-04 18:01:42 +01:00
Output TinyMCE HTML inside the body for Press This. Fixes #17500 props greuben
git-svn-id: http://svn.automattic.com/wordpress/trunk@18148 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
866b39c617
commit
a9e78ba4a6
@ -346,10 +346,6 @@ var photostorage = false;
|
|||||||
do_action('admin_print_styles');
|
do_action('admin_print_styles');
|
||||||
do_action('admin_print_scripts');
|
do_action('admin_print_scripts');
|
||||||
do_action('admin_head');
|
do_action('admin_head');
|
||||||
|
|
||||||
if ( user_can_richedit() ) {
|
|
||||||
wp_tiny_mce( true, array( 'height' => '370' ) );
|
|
||||||
}
|
|
||||||
?>
|
?>
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
function insert_plain_editor(text) {
|
function insert_plain_editor(text) {
|
||||||
@ -467,6 +463,11 @@ var photostorage = false;
|
|||||||
</script>
|
</script>
|
||||||
</head>
|
</head>
|
||||||
<body class="press-this wp-admin">
|
<body class="press-this wp-admin">
|
||||||
|
<?php
|
||||||
|
if ( user_can_richedit() ) {
|
||||||
|
wp_tiny_mce( true, array( 'height' => '370' ) );
|
||||||
|
}
|
||||||
|
?>
|
||||||
<div id="wphead"></div>
|
<div id="wphead"></div>
|
||||||
<form action="press-this.php?action=post" method="post">
|
<form action="press-this.php?action=post" method="post">
|
||||||
<div id="poststuff" class="metabox-holder">
|
<div id="poststuff" class="metabox-holder">
|
||||||
|
Loading…
Reference in New Issue
Block a user