Changeset 19239
- Timestamp:
- 11/10/2011 05:46:23 PM (13 years ago)
- Location:
- trunk/wp-includes
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/class-wp-editor.php
r19172 r19239 577 577 578 578 jQuery('.wp-editor-wrap').mousedown(function(e){ 579 579 wpActiveEditor = this.id.slice(3, -5); 580 580 }); 581 581 -
trunk/wp-includes/general-template.php
r19096 r19239 1734 1734 1735 1735 /** 1736 * Loads and initializes WP_Editor class if needed, passes the settings for an instance of the editor 1737 * 1736 * Loads and initializes WP_Editor class (if needed), passes the settings for an instance of the editor 1737 * 1738 * Using this function is the proper way to output all needed components for both TinyMCE and Quicktags. 1739 * WP_Editor shouldn't be instantiated separately as it keeps track of loaded scripts. 1740 * See http://core.trac.wordpress.org/ticket/17144. 1741 * 1742 * NOTE: Once initialized the TinyMCE editor cannot be safely moved in the DOM. For that reason 1743 * running wp_editor() inside of a metabox is not a good idea unless only Quicktags is used. 1744 * On the post edit screen several actions can be used to include additional editors 1745 * containing TinyMCE: 'edit_page_form', 'edit_form_advanced' and 'dbx_post_sidebar'. 1746 * See http://core.trac.wordpress.org/ticket/19173 for more information. 1747 * 1738 1748 * @see wp-includes/class-wp-editor.php 1739 1749 * @since 3.3 1740 1750 * 1741 1751 * @param string $content Initial content for the editor. 1742 * @param string $editor_id HTML ID attribute value for the textarea and TinyMCE. 1752 * @param string $editor_id HTML ID attribute value for the textarea and TinyMCE. Can only be /[a-z]+/. 1743 1753 * @param array $settings See WP_Editor::editor(). 1744 1754 */
Note: See TracChangeset
for help on using the changeset viewer.