Make WordPress Core


Ignore:
Timestamp:
03/12/2008 10:47:11 PM (17 years ago)
Author:
ryan
Message:

TinyMCE 3.05 from azaozz. fixes #6195

File:
1 edited

Legend:

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

    r6694 r7270  
    33    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    44    <title>{#advanced_dlg.code_title}</title>
    5     <script type="text/javascript" src="../../tiny_mce_popup.js"></script>
     5    <script type="text/javascript" src="../../tiny_mce_popup.js"></script>
    66    <script type="text/javascript" src="js/source_editor.js"></script>
    7     <script type="text/javascript">tinyMCEPopup.onInit.add(function(){window.setTimeout(function(){document.getElementById('htmlSource').focus();},500);});</script>
    8     <base target="_self" />
     7    <base target="_self" />
    98</head>
    109<body onresize="resizeInputs();" style="display:none; overflow:hidden;">
    11     <form name="source" onsubmit="saveContent();" action="#">
     10    <form name="source" onsubmit="saveContent();return false;" action="#">
    1211        <div style="float: left" class="title">{#advanced_dlg.code_title}</div>
    1312
     
    1817        <br style="clear: both" />
    1918
    20         <textarea name="htmlSource" id="htmlSource" rows="15" cols="100" style="width: 100%; height: 100%; font-family: 'Courier New',Courier,monospace; font-size: 12px;" dir="ltr" wrap="off"></textarea>
     19        <textarea name="htmlSource" id="htmlSource" rows="15" cols="100" style="width: 100%; height: 100%; font-family: 'Courier New',Courier,monospace; font-size: 12px;" dir="ltr" wrap="off" class="mceFocus"></textarea>
    2120
    2221        <div class="mceActionPanel">
     
    2625
    2726            <div style="float: right">
    28                 <input type="submit" name="insert" value="{#update}" onclick="saveContent();" id="insert" />
     27                <input type="submit" name="insert" value="{#update}" id="insert" />
    2928            </div>
    3029        </div>
Note: See TracChangeset for help on using the changeset viewer.