diff options
Diffstat (limited to 'program/js/tiny_mce/themes/advanced/source_editor.htm')
-rw-r--r-- | program/js/tiny_mce/themes/advanced/source_editor.htm | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/program/js/tiny_mce/themes/advanced/source_editor.htm b/program/js/tiny_mce/themes/advanced/source_editor.htm index 7cb4d7466..a8fb00511 100644 --- a/program/js/tiny_mce/themes/advanced/source_editor.htm +++ b/program/js/tiny_mce/themes/advanced/source_editor.htm @@ -10,10 +10,12 @@ <form name="source" onsubmit="saveContent();" action="#">
<div style="float: left" class="title">{$lang_theme_code_title}</div>
- <div style="float: right">
- <script language="javascript" type="text/javascript">renderWordWrap();</script>
+ <div id="wrapline" style="float: right">
+ <input type="checkbox" name="wraped" id="wraped" onclick="toggleWordWrap(this);" class="wordWrapCode" /><label for="wraped">{$lang_theme_code_wordwrap}</label>
</div>
+ <br style="clear: both" />
+
<textarea name="htmlSource" id="htmlSource" rows="15" cols="100" style="width: 100%; height: 100%; font-family: 'Courier New',Courier,mono; font-size: 12px" dir="ltr" wrap="off"></textarea>
<div class="mceActionPanel">
|