WordPress.org

Make WordPress Core

Changeset 19990


Ignore:
Timestamp:
02/24/2012 11:46:04 PM (9 years ago)
Author:
azaozz
Message:

TinyMCE: move the WordPress plugins styles to the theme's stylesheet, fixes #20118

Location:
trunk/wp-includes/js/tinymce
Files:
1 deleted
2 edited
4 moved

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/js/tinymce/plugins/wordpress/editor_plugin_src.js

    r19988 r19990  
    372372            nextpageHTML = '<img src="' + url + '/img/trans.gif" class="mceWPnextpage mceItemNoResize" title="'+ed.getLang('wordpress.wp_page_alt')+'" />';
    373373
    374             // Load plugin specific CSS into editor
    375             ed.onInit.add(function() {
    376                 ed.dom.loadCSS(url + '/css/content.css');
    377             });
    378 
    379374            // Display morebreak instead if img in element path
    380375            ed.onPostRender.add(function() {
  • trunk/wp-includes/js/tinymce/themes/advanced/skins/wp_theme/content.css

    r19982 r19990  
    109109    margin: 8px;
    110110}
     111
     112/* Styles for the WordPress plugins */
     113img.mceWPnextpage,
     114img.mceWPmore {
     115    border: 0;
     116    border-top: 1px dotted #cccccc;
     117    display: block;
     118    width: 95%;
     119    height: 12px;
     120    margin: 15px auto 0;
     121}
     122
     123img.mceWPmore {
     124    background: transparent url("img/more_bug.gif") no-repeat right top;
     125}
     126
     127img.mceWPnextpage {
     128    background: transparent url("img/page_bug.gif") no-repeat right top;
     129}
     130
     131img.wpGallery {
     132    border: 1px dashed #888;
     133    background: #f2f8ff url("img/gallery.png") no-repeat scroll center center;
     134    width: 99%;
     135    height: 250px;
     136}
     137
     138img.wp-oembed {
     139    border: 1px dashed #888;
     140    background: #f7f5f2 url("img/embedded.png") no-repeat scroll center center;
     141    width: 300px;
     142    height: 250px;
     143}
     144
Note: See TracChangeset for help on using the changeset viewer.