Make WordPress Core


Ignore:
Timestamp:
04/10/2011 06:36:05 PM (13 years ago)
Author:
azaozz
Message:

Update TinyMCE to 3.4.2, includes native <iframe>, <audio>, <video> support and stops removing HTML 5.0 tags, fixes #17086

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/js/tinymce/themes/advanced/image.htm

    r15683 r17625  
    33<head>
    44    <title>{#advanced_dlg.image_title}</title>
    5     <script type="text/javascript" src="../../tiny_mce_popup.js?ver=3392"></script>
    6     <script type="text/javascript" src="../../utils/mctabs.js?ver=3392"></script>
    7     <script type="text/javascript" src="../../utils/form_utils.js?ver=3392"></script>
    8     <script type="text/javascript" src="js/image.js?ver=3392"></script>
     5    <script type="text/javascript" src="../../tiny_mce_popup.js?ver=342-20110407"></script>
     6    <script type="text/javascript" src="../../utils/mctabs.js?ver=342-20110407"></script>
     7    <script type="text/javascript" src="../../utils/form_utils.js?ver=342-20110407"></script>
     8    <script type="text/javascript" src="js/image.js?ver=342-20110407"></script>
    99</head>
    1010<body id="image" style="display: none">
     
    1818    <div class="panel_wrapper">
    1919        <div id="general_panel" class="panel current">
    20      <table border="0" cellpadding="4" cellspacing="0">
    21           <tr>
    22             <td class="nowrap"><label for="src">{#advanced_dlg.image_src}</label></td>
    23             <td><table border="0" cellspacing="0" cellpadding="0">
    24                 <tr>
    25                   <td><input id="src" name="src" type="text" class="mceFocus" value="" style="width: 200px" onchange="ImageDialog.getImageData();" /></td>
    26                   <td id="srcbrowsercontainer">&nbsp;</td>
    27                 </tr>
    28               </table></td>
    29           </tr>
    30           <tr>
    31             <td><label for="image_list">{#advanced_dlg.image_list}</label></td>
    32             <td><select id="image_list" name="image_list" onchange="document.getElementById('src').value=this.options[this.selectedIndex].value;document.getElementById('alt').value=this.options[this.selectedIndex].text;"></select></td>
    33           </tr>
    34           <tr>
    35             <td class="nowrap"><label for="alt">{#advanced_dlg.image_alt}</label></td>
    36             <td><input id="alt" name="alt" type="text" value="" style="width: 200px" /></td>
    37           </tr>
    38           <tr>
    39             <td class="nowrap"><label for="align">{#advanced_dlg.image_align}</label></td>
    40             <td><select id="align" name="align" onchange="ImageDialog.updateStyle();">
    41                 <option value="">{#not_set}</option>
    42                 <option value="baseline">{#advanced_dlg.image_align_baseline}</option>
    43                 <option value="top">{#advanced_dlg.image_align_top}</option>
    44                 <option value="middle">{#advanced_dlg.image_align_middle}</option>
    45                 <option value="bottom">{#advanced_dlg.image_align_bottom}</option>
    46                 <option value="text-top">{#advanced_dlg.image_align_texttop}</option>
    47                 <option value="text-bottom">{#advanced_dlg.image_align_textbottom}</option>
    48                 <option value="left">{#advanced_dlg.image_align_left}</option>
    49                 <option value="right">{#advanced_dlg.image_align_right}</option>
    50               </select></td>
    51           </tr>
    52           <tr>
    53             <td class="nowrap"><label for="width">{#advanced_dlg.image_dimensions}</label></td>
    54             <td><input id="width" name="width" type="text" value="" size="3" maxlength="5" />
    55               x
    56               <input id="height" name="height" type="text" value="" size="3" maxlength="5" /></td>
    57           </tr>
    58           <tr>
    59             <td class="nowrap"><label for="border">{#advanced_dlg.image_border}</label></td>
    60             <td><input id="border" name="border" type="text" value="" size="3" maxlength="3" onchange="ImageDialog.updateStyle();" /></td>
    61           </tr>
    62           <tr>
    63             <td class="nowrap"><label for="vspace">{#advanced_dlg.image_vspace}</label></td>
    64             <td><input id="vspace" name="vspace" type="text" value="" size="3" maxlength="3" onchange="ImageDialog.updateStyle();" /></td>
    65           </tr>
    66           <tr>
    67             <td class="nowrap"><label for="hspace">{#advanced_dlg.image_hspace}</label></td>
    68             <td><input id="hspace" name="hspace" type="text" value="" size="3" maxlength="3" onchange="ImageDialog.updateStyle();" /></td>
    69           </tr>
    70           <tr>
    71             <td class="nowrap"><label for="class_name">{#class_name}</label></td>
    72             <td><input type="text" id="class_name" name="class_name" style="width: 140px" value="" /></td>
    73           </tr>
    74         </table>
     20            <table border="0" cellpadding="4" cellspacing="0">
     21                <tr>
     22                    <td class="nowrap"><label for="src">{#advanced_dlg.image_src}</label></td>
     23                    <td><table border="0" cellspacing="0" cellpadding="0">
     24                        <tr>
     25                            <td><input id="src" name="src" type="text" class="mceFocus" value="" style="width: 200px" onchange="ImageDialog.getImageData();" /></td>
     26                            <td id="srcbrowsercontainer">&nbsp;</td>
     27                        </tr>
     28                    </table></td>
     29                </tr>
     30                <tr>
     31                    <td><label for="image_list">{#advanced_dlg.image_list}</label></td>
     32                    <td><select id="image_list" name="image_list" onchange="document.getElementById('src').value=this.options[this.selectedIndex].value;document.getElementById('alt').value=this.options[this.selectedIndex].text;"></select></td>
     33                </tr>
     34                <tr>
     35                    <td class="nowrap"><label for="alt">{#advanced_dlg.image_alt}</label></td>
     36                    <td><input id="alt" name="alt" type="text" value="" style="width: 200px" /></td>
     37                </tr>
     38                <tr>
     39                    <td class="nowrap"><label for="align">{#advanced_dlg.image_align}</label></td>
     40                    <td><select id="align" name="align" onchange="ImageDialog.updateStyle();">
     41                        <option value="">{#not_set}</option>
     42                        <option value="baseline">{#advanced_dlg.image_align_baseline}</option>
     43                        <option value="top">{#advanced_dlg.image_align_top}</option>
     44                        <option value="middle">{#advanced_dlg.image_align_middle}</option>
     45                        <option value="bottom">{#advanced_dlg.image_align_bottom}</option>
     46                        <option value="text-top">{#advanced_dlg.image_align_texttop}</option>
     47                        <option value="text-bottom">{#advanced_dlg.image_align_textbottom}</option>
     48                        <option value="left">{#advanced_dlg.image_align_left}</option>
     49                        <option value="right">{#advanced_dlg.image_align_right}</option>
     50                    </select></td>
     51                </tr>
     52                <tr>
     53                    <td class="nowrap"><label for="width">{#advanced_dlg.image_dimensions}</label></td>
     54                    <td><input id="width" name="width" type="text" value="" size="3" maxlength="5" />
     55                     x
     56                    <input id="height" name="height" type="text" value="" size="3" maxlength="5" /></td>
     57                </tr>
     58                <tr>
     59                <td class="nowrap"><label for="border">{#advanced_dlg.image_border}</label></td>
     60                <td><input id="border" name="border" type="text" value="" size="3" maxlength="3" onchange="ImageDialog.updateStyle();" /></td>
     61                </tr>
     62                <tr>
     63                    <td class="nowrap"><label for="vspace">{#advanced_dlg.image_vspace}</label></td>
     64                    <td><input id="vspace" name="vspace" type="text" value="" size="3" maxlength="3" onchange="ImageDialog.updateStyle();" /></td>
     65                </tr>
     66                <tr>
     67                    <td class="nowrap"><label for="hspace">{#advanced_dlg.image_hspace}</label></td>
     68                    <td><input id="hspace" name="hspace" type="text" value="" size="3" maxlength="3" onchange="ImageDialog.updateStyle();" /></td>
     69                </tr>
     70                <tr>
     71                    <td class="nowrap"><label for="class_name">{#class_name}</label></td>
     72                    <td><input type="text" id="class_name" name="class_name" style="width: 140px" value="" /></td>
     73                </tr>
     74            </table>
    7575        </div>
    7676    </div>
Note: See TracChangeset for help on using the changeset viewer.