Changeset 8245
- Timestamp:
- 07/03/2008 05:11:00 AM (16 years ago)
- Location:
- trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/js/media-upload.js
r8239 r8245 6 6 ed.selection.moveToBookmark(tinymce.EditorManager.activeEditor.windowManager.bookmark); 7 7 8 if ( h.indexOf('[wp_caption') != -1 ) 9 h = ed.plugins.wpeditimage._do_shcode(h); 10 8 11 ed.execCommand('mceInsertContent', false, h); 9 ed.execCommand('mceCleanup');10 12 } else 11 13 edInsertContent(edCanvas, h); -
trunk/wp-includes/js/tinymce/plugins/wpeditimage/js/editimage.js
r8239 r8245 461 461 return; 462 462 } else { 463 if ( DL ) {463 if ( DL && DIV ) { 464 464 if ( f.link_href.value ) html = ed.dom.getOuterHTML(ed.dom.getParent(el, 'a')); 465 465 else html = ed.dom.getOuterHTML(el); 466 466 467 467 P = ed.dom.create('p', {}, html); 468 DL.parentNode.insertBefore(P,DL); 469 ed.dom.remove(DL.childNodes); 470 ed.dom.remove(DL); 468 DIV.parentNode.insertBefore(P, DIV); 469 ed.dom.remove(DIV); 471 470 } 472 471 } -
trunk/wp-includes/js/tinymce/tiny_mce_config.php
r8204 r8245 223 223 if ( $disk_cache ) { 224 224 225 $cacheKey = apply_filters('tiny_mce_version', '20080 626');225 $cacheKey = apply_filters('tiny_mce_version', '20080702'); 226 226 227 227 foreach ( $initArray as $v ) -
trunk/wp-includes/script-loader.php
r8243 r8245 35 35 $scripts->add( 'editor', false, $visual_editor, '20080321' ); 36 36 37 $scripts->add( 'editor_functions', '/wp-admin/js/editor.js', false, '2008070 1' );37 $scripts->add( 'editor_functions', '/wp-admin/js/editor.js', false, '20080702' ); 38 38 39 39 // Modify this version when tinyMCE plugins are changed. … … 160 160 ) ); 161 161 $scripts->add( 'admin-gallery', '/wp-admin/js/gallery.js', array( 'jquery-ui-sortable' ), '20080520' ); 162 $scripts->add( 'media-upload', '/wp-admin/js/media-upload.js', array( 'thickbox' ), '2008070 1' );162 $scripts->add( 'media-upload', '/wp-admin/js/media-upload.js', array( 'thickbox' ), '20080702' ); 163 163 $scripts->localize( 'upload', 'uploadL10n', array( 164 164 'browseTitle' => attribute_escape(__('Browse your files')),
Note: See TracChangeset
for help on using the changeset viewer.