Mercurial > public > sg101
comparison static/js/tiny_mce/themes/advanced/source_editor.htm @ 442:6c182ceb7147
Fixing #217; upgrade TinyMCE to 3.4.2 and enable the paste plugin.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Thu, 26 May 2011 00:43:49 +0000 |
parents | 88b2b9cb8c1f |
children |
comparison
equal
deleted
inserted
replaced
441:33d0c55e57a9 | 442:6c182ceb7147 |
---|---|
4 <script type="text/javascript" src="../../tiny_mce_popup.js"></script> | 4 <script type="text/javascript" src="../../tiny_mce_popup.js"></script> |
5 <script type="text/javascript" src="js/source_editor.js"></script> | 5 <script type="text/javascript" src="js/source_editor.js"></script> |
6 </head> | 6 </head> |
7 <body onresize="resizeInputs();" style="display:none; overflow:hidden;"> | 7 <body onresize="resizeInputs();" style="display:none; overflow:hidden;"> |
8 <form name="source" onsubmit="saveContent();return false;" action="#"> | 8 <form name="source" onsubmit="saveContent();return false;" action="#"> |
9 <div style="float: left" class="title">{#advanced_dlg.code_title}</div> | 9 <div style="float: left" class="title"><label for="htmlSource">{#advanced_dlg.code_title}</label></div> |
10 | 10 |
11 <div id="wrapline" style="float: right"> | 11 <div id="wrapline" style="float: right"> |
12 <input type="checkbox" name="wraped" id="wraped" onclick="toggleWordWrap(this);" class="wordWrapCode" /><label for="wraped">{#advanced_dlg.code_wordwrap}</label> | 12 <input type="checkbox" name="wraped" id="wraped" onclick="toggleWordWrap(this);" class="wordWrapCode" /><label for="wraped">{#advanced_dlg.code_wordwrap}</label> |
13 </div> | 13 </div> |
14 | 14 |
15 <br style="clear: both" /> | 15 <br style="clear: both" /> |
16 | 16 |
17 <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> | 17 <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> |
18 | 18 |
19 <div class="mceActionPanel"> | 19 <div class="mceActionPanel"> |
20 <input type="submit" name="insert" value="{#update}" id="insert" /> | 20 <input type="submit" role="button" name="insert" value="{#update}" id="insert" /> |
21 <input type="button" name="cancel" value="{#cancel}" onclick="tinyMCEPopup.close();" id="cancel" /> | 21 <input type="button" role="button" name="cancel" value="{#cancel}" onclick="tinyMCEPopup.close();" id="cancel" /> |
22 </div> | 22 </div> |
23 </form> | 23 </form> |
24 </body> | 24 </body> |
25 </html> | 25 </html> |