WordPress.org

Make WordPress Core


Ignore:
Timestamp:
08/04/2005 09:26:32 AM (16 years ago)
Author:
matt
Message:

More places where WYSIWYG should be triggered

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/edit-page-form.php

    r2730 r2749  
    119119<fieldset id="postdiv">
    120120    <legend><?php _e('Page Content') ?></legend>
     121<?php if ( !get_option('rich_editing') ) : ?>
    121122<?php the_quicktags(); ?>
     123<script type="text/javascript">
     124<!--
     125edCanvas = document.getElementById('content');
     126//-->
     127</script>
     128<?php endif; ?>
    122129<?php
    123130 $rows = get_settings('default_post_edit_rows');
     
    126133 }
    127134?>
    128 <div><textarea rows="<?php echo $rows; ?>" cols="40" name="content" tabindex="4" id="content"><?php echo $post->post_content ?></textarea></div>
     135<div><textarea title="true" rows="<?php echo $rows; ?>" cols="40" name="content" tabindex="4" id="content"><?php echo $post->post_content ?></textarea></div>
    129136</fieldset>
    130137
    131138
    132 <script type="text/javascript">
    133 <!--
    134 edCanvas = document.getElementById('content');
    135 //-->
    136 </script>
     139
    137140
    138141<p class="submit">
Note: See TracChangeset for help on using the changeset viewer.