editor.jsp
上传用户:jhtang88
上传日期:2014-01-27
资源大小:28528k
文件大小:21k
源码类别:

Jsp/Servlet

开发平台:

Java

  1. <%@ page contentType="text/html;charset=utf-8" %>
  2. <%@ taglib uri="/WEB-INF/tlds/LabelTag.tld" prefix="lt" %>
  3. <%
  4. String editorRootPath = request.getContextPath();
  5. %>
  6. <link rel="STYLESHEET" type="text/css" href="<%=editorRootPath%>/editor_full/edit.css">
  7. <Script src="<%=editorRootPath%>/editor_full/editor_js.jsp"></Script>
  8. <input type="hidden" id="edit" name="edit" value="" />
  9. <div id="cws_edit">
  10. <ul id="ExtToolbar0">
  11. <li >
  12. <select id="cws_formatSelect"  onchange="cws_doSelectClick('FormatBlock',this)">
  13. <option><lt:Label res="res.label.editor_full.editor" key="p_format"/></option>
  14. <option value="&lt;P&gt;"><lt:Label res="res.label.editor_full.editor" key="normal_format"/> 
  15. <option value="&lt;H1&gt;"><lt:Label res="res.label.editor_full.editor" key="title1"/>
  16. <option value="&lt;H2&gt;"><lt:Label res="res.label.editor_full.editor" key="title2"/>
  17. <option value="&lt;H3&gt;"><lt:Label res="res.label.editor_full.editor" key="title3"/>
  18. <option value="&lt;H4&gt;"><lt:Label res="res.label.editor_full.editor" key="title4"/>
  19. <option value="&lt;H5&gt;"><lt:Label res="res.label.editor_full.editor" key="title5"/>
  20. <option value="&lt;H6&gt;"><lt:Label res="res.label.editor_full.editor" key="title6"/>
  21. <option value="&lt;H7&gt;"><lt:Label res="res.label.editor_full.editor" key="title7"/>
  22. <option value="&lt;PRE&gt;"><lt:Label res="res.label.editor_full.editor" key="format_already"/> 
  23. <option value="&lt;ADDRESS&gt;"><lt:Label res="res.label.editor_full.editor" key="address"/>  
  24. </select>
  25. <select language="javascript" class="cws_TBGen" id="FontName" onChange="FormatText ('fontname',this[this.selectedIndex].value);">
  26. <option class="heading" selected><lt:Label res="res.label.editor_full.editor" key="font"/> 
  27. <option value="宋体"><lt:Label res="res.label.editor_full.editor" key="songti"/> 
  28. <option value="黑体"><lt:Label res="res.label.editor_full.editor" key="heiti"/>  
  29. <option value="楷体_GB2312"><lt:Label res="res.label.editor_full.editor" key="kaiti"/>  
  30. <option value="仿宋_GB2312"><lt:Label res="res.label.editor_full.editor" key="fangsong"/> 
  31. <option value="隶书"><lt:Label res="res.label.editor_full.editor" key="lishu"/>
  32. <option value="幼圆"><lt:Label res="res.label.editor_full.editor" key="youyuan"/> 
  33. <option value="新宋体"><lt:Label res="res.label.editor_full.editor" key="xinsongti"/> 
  34. <option value="细明体"><lt:Label res="res.label.editor_full.editor" key="ximinti"/> 
  35. <option value="Arial">Arial 
  36. <option value="Arial Black">Arial Black 
  37. <option value="Arial Narrow">Arial Narrow 
  38. <option value="Bradley Hand ITC">Bradley Hand ITC 
  39. <option value="Brush Script MT">Brush Script MT 
  40. <option value="Century Gothic">Century Gothic 
  41. <option value="Comic Sans MS">Comic Sans MS 
  42. <option value="Courier">Courier 
  43. <option value="Courier New">Courier New 
  44. <option value="MS Sans Serif">MS Sans Serif 
  45. <option value="Script">Script 
  46. <option value="System">System 
  47. <option value="Times New Roman">Times New Roman 
  48. <option value="Viner Hand ITC">Viner Hand ITC 
  49. <option value="Verdana">Verdana 
  50. <option value="Wide Latin">Wide Latin 
  51. <option value="Wingdings">Wingdings</option>
  52. </select>
  53. <select language="javascript" class="cws_TBGen" id="FontSize" onChange="FormatText('fontsize',this[this.selectedIndex].value);">                                   
  54. <option class="heading" selected><lt:Label res="res.label.editor_full.editor" key="font_size"/> 
  55. <option value="1">1 
  56. <option value="2">2 
  57. <option value="3">3 
  58. <option value="4">4 
  59. <option value="5">5 
  60. <option value="6">6 
  61. <option value="7">7</option>
  62. </select>
  63. </li>
  64. <li class="cws_Btn" title="<lt:Label res="res.label.editor_full.editor" key="font_color"/>" language="javascript" onClick="cws_foreColor();" onmouseover=this.className='cws_BtnMouseOverUp'; onmouseout=this.className='cws_Btn'; > 
  65. <img class="cws_Ico" src="<%=editorRootPath%>/editor_full/images/fgcolor.gif" /> </li>
  66. <li class="cws_Btn" title="<lt:Label res="res.label.editor_full.editor" key="font_bg_color"/>" language="javascript" onClick="cws_backColor();ondrag='return false;'" onmouseover=this.className='cws_BtnMouseOverUp'; onmouseout=this.className='cws_Btn';> 
  67. <img class="cws_Ico" src="<%=editorRootPath%>/editor_full/images/fbcolor.gif" /> </li>
  68. <li class="cws_Btn" title="<lt:Label res="res.label.editor_full.editor" key="symbole"/>" language="javascript" onClick="insertSpecialChar();" onmouseover=this.className='cws_BtnMouseOverUp'; onmouseout=this.className='cws_Btn';> 
  69. <img class="cws_Ico" src="<%=editorRootPath%>/editor_full/images/specialchar.gif" /></li>
  70. <li class="cws_Btn" title="<lt:Label res="res.label.editor_full.editor" key="replace"/>" language="javascript" onClick="cws_replace();" onmouseover=this.className='cws_BtnMouseOverUp'; onmouseout=this.className='cws_Btn';> 
  71. <img class="cws_Ico" src="<%=editorRootPath%>/editor_full/images/replace.gif" /> </li>
  72. <li class="cws_Btn" title="<lt:Label res="res.label.editor_full.editor" key="clear_code"/>" language="javascript" onClick="cws_CleanCode();ondrag='return false;'" onmouseover=this.className='cws_BtnMouseOverUp'; onmouseout=this.className='cws_Btn';> 
  73. <img class="cws_Ico" src="<%=editorRootPath%>/editor_full/images/cleancode.gif" /></li>
  74. <li> 
  75. <select ID="Zoom" class="cws_TBGen" onChange="doZoom(this)" >
  76. <option value="100">100% 
  77. <option value="50">50% 
  78. <option value="75">75% 
  79. <option value="100">100% 
  80. <option value="125">125% 
  81. <option value="150">150% 
  82. <option value="175">175% 
  83. <option value="200">200%</option>
  84. </select>
  85. </li>
  86.      <li class="cws_Btn" title="<lt:Label res="res.label.editor_full.editor" key="help"/>" language="javascript" onmouseover=this.className='cws_BtnMouseOverUp'; onmouseout=this.className='cws_Btn';> <a href="#"><img src="<%=editorRootPath%>/editor_full/images/help.gif" class="cws_Ico" border="0"></a> </li>        
  87. </ul>
  88. <ul id="ExtToolbar1"> 
  89. <li class="cws_Btn" title="<lt:Label res="res.label.editor_full.editor" key="select_all"/>" language="javascript" onClick="FormatText('selectAll');ondrag='return false;'" onmouseover=this.className='cws_BtnMouseOverUp'; onmouseout=this.className='cws_Btn' > 
  90. <img class="cws_Ico" src="<%=editorRootPath%>/editor_full/images/selectAll.gif" /> </li>
  91. <li class="cws_Btn" title="<lt:Label res="res.label.editor_full.editor" key="cut"/>" language="javascript" onClick="FormatText('cut');ondrag='return false;'" onmouseover=this.className='cws_BtnMouseOverUp'; onmouseout=this.className='cws_Btn'; > 
  92. <img class="cws_Ico" src="<%=editorRootPath%>/editor_full/images/cut.gif" /> </li>
  93. <li class="cws_Btn" title="<lt:Label res="res.label.editor_full.editor" key="copy"/>" language="javascript" onClick="FormatText('copy');ondrag='return false;'" onmouseover=this.className='cws_BtnMouseOverUp'; onmouseout=this.className='cws_Btn'; > 
  94. <img class="cws_Ico" src="<%=editorRootPath%>/editor_full/images/copy.gif" /> </li>
  95. <li class="cws_Btn" title="<lt:Label res="res.label.editor_full.editor" key="paste"/>" language="javascript" onClick="FormatText('paste');ondrag='return false;'" onmouseover=this.className='cws_BtnMouseOverUp'; onmouseout=this.className='cws_Btn'; > 
  96. <img class="cws_Ico" src="<%=editorRootPath%>/editor_full/images/paste.gif" /> </li>
  97. <li class="cws_Btn" title="<lt:Label res="res.label.editor_full.editor" key="undo"/>" language="javascript" onClick="FormatText('undo');ondrag='return false;'" onmouseover=this.className='cws_BtnMouseOverUp'; onmouseout=this.className='cws_Btn'; > 
  98. <img class="cws_Ico" src="<%=editorRootPath%>/editor_full/images/undo.gif" /> </li>
  99. <li class="cws_Btn" title="<lt:Label res="res.label.editor_full.editor" key="redo"/>" language="javascript" onClick="FormatText('redo');ondrag='return false;'" onmouseover=this.className='cws_BtnMouseOverUp'; onmouseout=this.className='cws_Btn'; > 
  100. <img class="cws_Ico" src="<%=editorRootPath%>/editor_full/images/redo.gif" /> </li>
  101. <li class="cws_Btn" title="<lt:Label res="res.label.editor_full.editor" key="link"/>" language="javascript" onClick="cws_forlink();ondrag='return false;'" onmouseover=this.className='cws_BtnMouseOverUp'; onmouseout=this.className='cws_Btn'; > 
  102. <img class="cws_Ico" src="<%=editorRootPath%>/editor_full/images/wlink.gif" > </li>
  103. <li class="cws_Btn" title="<lt:Label res="res.label.editor_full.editor" key="clear_link"/>" language="javascript" onClick="FormatText('Unlink');ondrag='return false;'" onmouseover=this.className='cws_BtnMouseOverUp'; onmouseout=this.className='cws_Btn'; > 
  104. <img class="cws_Ico" src="<%=editorRootPath%>/editor_full/images/unlink.gif" /> </li>
  105. <li class="cws_Btn" title="<lt:Label res="res.label.editor_full.editor" key="image"/>" language="javascript" onClick="cws_forimg();ondrag='return false;'" onmouseover=this.className='cws_BtnMouseOverUp'; onmouseout=this.className='cws_Btn'; > 
  106. <img class="cws_Ico" src="<%=editorRootPath%>/editor_full/images/img.gif" /> </li>
  107. <li class="cws_Btn" title="<lt:Label res="res.label.editor_full.editor" key="hr"/>" language="javascript" onClick="FormatText('InsertHorizontalRule', '');ondrag='return false;'" onmouseover=this.className='cws_BtnMouseOverUp'; onmouseout=this.className='cws_Btn'; > 
  108. <img class="cws_Ico" src="<%=editorRootPath%>/editor_full/images/hr.gif" /> </li>
  109. <li class="cws_Btn" title="<lt:Label res="res.label.editor_full.editor" key="table"/>" language="javascript" onClick="cws_fortable();ondrag='return false;'" onmouseover=this.className='cws_BtnMouseOverUp'; onmouseout=this.className='cws_Btn'; > 
  110. <img class="cws_Ico" src="<%=editorRootPath%>/editor_full/images/table.gif" /> </li>
  111. <li class="cws_Btn" title="<lt:Label res="res.label.editor_full.editor" key="row"/>" language="javascript" onClick="cws_InsertRow();ondrag='return false;'" onmouseover=this.className='cws_BtnMouseOverUp'; onmouseout=this.className='cws_Btn'; > 
  112. <img class="cws_Ico" src="<%=editorRootPath%>/editor_full/images/insertrow.gif" /> </li>
  113. <li class="cws_Btn" title="<lt:Label res="res.label.editor_full.editor" key="del_row"/>" language="javascript" onClick="cws_DeleteRow();ondrag='return false;'" onmouseover=this.className='cws_BtnMouseOverUp'; onmouseout=this.className='cws_Btn'; > 
  114. <img class="cws_Ico" src="<%=editorRootPath%>/editor_full/images/deleterow.gif" /> </li>
  115. <li class="cws_Btn" title="<lt:Label res="res.label.editor_full.editor" key="col"/>" language="javascript" onClick="cws_InsertColumn();ondrag='return false;'" onmouseover=this.className='cws_BtnMouseOverUp'; onmouseout=this.className='cws_Btn'; > 
  116. <img class="cws_Ico" src="<%=editorRootPath%>/editor_full/images/insertcolumn.gif" /> </li>
  117. <li class="cws_Btn" title="<lt:Label res="res.label.editor_full.editor" key="del_col"/>" language="javascript" onClick="cws_DeleteColumn();ondrag='return false;'" onmouseover=this.className='cws_BtnMouseOverUp'; onmouseout=this.className='cws_Btn'; > 
  118. <img class="cws_Ico" src="<%=editorRootPath%>/editor_full/images/deletecolumn.gif" /> </li>
  119. <li class="cws_Btn" title="<lt:Label res="res.label.editor_full.editor" key="flash"/>" language="javascript" onClick="cws_forswf();ondrag='return false;'" onmouseover=this.className='cws_BtnMouseOverUp'; onmouseout=this.className='cws_Btn'; > 
  120. <img class="cws_Ico" src="<%=editorRootPath%>/editor_full/images/swf.gif" /> </li>
  121. <li class="cws_Btn" title="<lt:Label res="res.label.editor_full.editor" key="media"/>" language="javascript" onClick="cws_forwmv();ondrag='return false;'" onmouseover=this.className='cws_BtnMouseOverUp'; onmouseout=this.className='cws_Btn'; > 
  122. <img class="cws_Ico" src="<%=editorRootPath%>/editor_full/images/wmv.gif" /> </li>
  123. <li class="cws_Btn" title="<lt:Label res="res.label.editor_full.editor" key="realplay"/>" language="javascript" onClick="cws_forrm();ondrag='return false;'" onmouseover=this.className='cws_BtnMouseOverUp'; onmouseout=this.className='cws_Btn'; > 
  124. <img class="cws_Ico" src="<%=editorRootPath%>/editor_full/images/rm.gif" /> </li>
  125. </ul>
  126. <ul id="ExtToolbar2"> 
  127. <li class="cws_Btn" title="<lt:Label res="res.label.editor_full.editor" key="bold"/>" language="javascript" onClick="FormatText('bold', '');ondrag='return false;'" onmouseover=this.className='cws_BtnMouseOverUp'; onmouseout=this.className='cws_Btn'; > 
  128. <img class="cws_Ico" src="<%=editorRootPath%>/editor_full/images/bold.gif" /> </li>
  129. <li class="cws_Btn" title="<lt:Label res="res.label.editor_full.editor" key="italic"/>" language="javascript" onClick="FormatText('italic', '');ondrag='return false;'" onmouseover=this.className='cws_BtnMouseOverUp'; onmouseout=this.className='cws_Btn'; > 
  130. <img class="cws_Ico" src="<%=editorRootPath%>/editor_full/images/italic.gif" /> </li>
  131. <li class="cws_Btn" title="<lt:Label res="res.label.editor_full.editor" key="underline"/>" language="javascript" onClick="FormatText('underline', '');ondrag='return false;'" onmouseover=this.className='cws_BtnMouseOverUp'; onmouseout=this.className='cws_Btn'; > 
  132. <img class="cws_Ico" src="<%=editorRootPath%>/editor_full/images/underline.gif" /> </li>
  133. <li class="cws_Btn" title="<lt:Label res="res.label.editor_full.editor" key="superscript"/>" language="javascript" onClick="FormatText('superscript', '');ondrag='return false;'" onmouseover=this.className='cws_BtnMouseOverUp'; onmouseout=this.className='cws_Btn'; > 
  134. <img class="cws_Ico" src="<%=editorRootPath%>/editor_full/images/superscript.gif" /> </li>
  135. <li class="cws_Btn" title="<lt:Label res="res.label.editor_full.editor" key="subscript"/>" language="javascript" onClick="FormatText('subscript', '');ondrag='return false;'" onmouseover=this.className='cws_BtnMouseOverUp'; onmouseout=this.className='cws_Btn'; > 
  136. <img class="cws_Ico" src="<%=editorRootPath%>/editor_full/images/subscript.gif" /> </li>
  137. <li class="cws_Btn" title="<lt:Label res="res.label.editor_full.editor" key="del_line"/>" language="javascript" onClick="FormatText('strikethrough', '');ondrag='return false;'" onmouseover=this.className='cws_BtnMouseOverUp'; onmouseout=this.className='cws_Btn'; > 
  138. <img class="cws_Ico" src="<%=editorRootPath%>/editor_full/images/strikethrough.gif" /> </li>
  139. <li class="cws_Btn" title="<lt:Label res="res.label.editor_full.editor" key="cancel_format"/>" language="javascript" onClick="FormatText('RemoveFormat', '');ondrag='return false;'" onmouseover=this.className='cws_BtnMouseOverUp'; onmouseout=this.className='cws_Btn'; > 
  140. <img class="cws_Ico" src="<%=editorRootPath%>/editor_full/images/removeformat.gif" /> </li>
  141. <li class="cws_Btn" title="<lt:Label res="res.label.editor_full.editor" key="align_left"/>" NAME="Justify" language="javascript" onClick="FormatText('justifyleft', '');ondrag='return false;'" onmouseover=this.className='cws_BtnMouseOverUp'; onmouseout=this.className='cws_Btn'; > 
  142. <img class="cws_Ico" src="<%=editorRootPath%>/editor_full/images/aleft.gif" /> </li>
  143. <li class="cws_Btn" title="<lt:Label res="res.label.editor_full.editor" key="align_center"/>" NAME="Justify" language="javascript" onClick="FormatText('justifycenter', '');ondrag='return false;'" onmouseover=this.className='cws_BtnMouseOverUp'; onmouseout=this.className='cws_Btn'; > 
  144. <img class="cws_Ico" src="<%=editorRootPath%>/editor_full/images/center.gif" /> </li>
  145. <li class="cws_Btn" title="<lt:Label res="res.label.editor_full.editor" key="align_right"/>" NAME="Justify" language="javascript" onClick="FormatText('justifyright', '');ondrag='return false;'" onmouseover=this.className='cws_BtnMouseOverUp'; onmouseout=this.className='cws_Btn'; > 
  146. <img class="cws_Ico" src="<%=editorRootPath%>/editor_full/images/aright.gif" /> </li>
  147. <li class="cws_Btn" title="<lt:Label res="res.label.editor_full.editor" key="code"/>" language="javascript" onClick="FormatText('insertorderedlist', '');ondrag='return false;'" onmouseover=this.className='cws_BtnMouseOverUp'; onmouseout=this.className='cws_Btn'; > 
  148. <img class="cws_Ico" src="<%=editorRootPath%>/editor_full/images/numlist.gif" /> </li>
  149. <li class="cws_Btn" title="<lt:Label res="res.label.editor_full.editor" key="item_icon"/>" language="javascript" onClick="FormatText('insertunorderedlist', '');ondrag='return false;'" onmouseover=this.className='cws_BtnMouseOverUp'; onmouseout=this.className='cws_Btn'; > 
  150. <img class="cws_Ico" src="<%=editorRootPath%>/editor_full/images/bullist.gif" /> </li>
  151. <li class="cws_Btn" title="<lt:Label res="res.label.editor_full.editor" key="little_brings"/>" language="javascript" onClick="FormatText('outdent', '');ondrag='return false;'" onmouseover=this.className='cws_BtnMouseOverUp'; onmouseout=this.className='cws_Btn'; > 
  152. <img class="cws_Ico" src="<%=editorRootPath%>/editor_full/images/outdent.gif" /> </li>
  153. <li class="cws_Btn" title="<lt:Label res="res.label.editor_full.editor" key="more_brings"/>" language="javascript" onClick="FormatText('indent', '');ondrag='return false;'" onmouseover=this.className='cws_BtnMouseOverUp'; onmouseout=this.className='cws_Btn'; > 
  154. <img class="cws_Ico" src="<%=editorRootPath%>/editor_full/images/indent.gif" /> </li>
  155. <li class="cws_Btn" title="<lt:Label res="res.label.editor_full.editor" key="emote"/>" language="javascript" onClick="cws_foremot()" onmouseover=this.className='cws_BtnMouseOverUp'; onmouseout=this.className='cws_Btn'; > 
  156. <img class="cws_Ico" src="<%=editorRootPath%>/editor_full/images/smiley.gif" / > </li>
  157. <!--
  158. <li class="cws_Btn" title="上传文件" language="javascript" onclick="cws_forfile()" onmouseover=this.className='cws_BtnMouseOverUp'; onmouseout=this.className='cws_Btn';>
  159. <img class="cws_Ico" src="<%=editorRootPath%>/editor_full/images/file.gif" />
  160. </li>
  161. -->
  162. <li class="cws_Btn" title="<lt:Label res="res.label.editor_full.editor" key="script"/>" language="javascript" onClick="cws_code()" onmouseover=this.className='cws_BtnMouseOverUp'; onmouseout=this.className='cws_Btn';>
  163. <img class="cws_Ico" src="<%=editorRootPath%>/editor_full/images/code.gif" /> </li>
  164. <li class="cws_Btn" title="<lt:Label res="res.label.editor_full.editor" key="quote"/>" language="javascript" onClick="cws_quote()" onmouseover=this.className='cws_BtnMouseOverUp'; onmouseout=this.className='cws_Btn';>
  165. <img class="cws_Ico" src="<%=editorRootPath%>/editor_full/images/quote.gif" /> </li>
  166. </ul>
  167. <ul style="height:100%" id="PostiFrame"><iframe class="cws_Composition" ID="cws_Composition" MARGINHEIGHT="5" MARGINWIDTH="5" width="100%" height="100%"></iframe> 
  168. </ul>
  169. <ul>
  170. <li style="width:10px"></li>
  171. <li class="cws_TabOn" id="cws_TabDesign" onClick="if (cws_bTextMode!=1) {cws_setMode(1);}"> 
  172. <img src="<%=editorRootPath%>/editor_full/images/mode.design.gif" ALIGN="absmiddle" width="20" height="20">&nbsp;<lt:Label res="res.label.editor_full.editor" key="design"/></li>
  173. <li style="width:10px"></li>
  174. <li class="cws_TabOff" id="cws_TabView" onClick="cws_View();" > 
  175. <img unselectable="on" src="<%=editorRootPath%>/editor_full/images/mode.view.gif" ALIGN="absmiddle" width="20" height="20" />&nbsp;<lt:Label res="res.label.editor_full.editor" key="preview"/> </li>
  176. <li style="width:10px"></li>
  177. <li class="cws_TabOff" id="cws_TabHtml" onClick="if (cws_bTextMode!=2) {cws_setMode(2);}" style="cursor: pointer;"><img unselectable="on" src="<%=editorRootPath%>/editor_full/images/mode.html.gif" ALIGN="absmiddle" width=21 height=20 />&nbsp;<lt:Label res="res.label.editor_full.editor" key="source_code"/></li>
  178. <li style="width:300;text-align:right;">
  179. <a href="javascript:cws_Size(-560)"><img src="<%=editorRootPath%>/editor_full/images/minus.gif" border="0" /></a> 
  180. <a href="javascript:cws_Size(320)"><img src="<%=editorRootPath%>/editor_full/images/plus.gif" border="0" /></a></li>
  181. <li style="width:10px"></li>
  182. </ul>
  183. </div>
  184. <Script language="JavaScript">
  185. var cws_bIsIE5=document.all;
  186. var canusehtml='1';
  187. var PostType=1;
  188. if (cws_bIsIE5){
  189. var IframeID=frames["cws_Composition"];
  190. }
  191. else{
  192. var IframeID=document.getElementById("cws_Composition").contentWindow;
  193. var cws_bIsNC=true;
  194. }
  195. if (cws_bLoad==false)
  196. {
  197. cws_InitDocument("Body","GB2312");
  198. }
  199. /*
  200. function submits(){
  201. var html;
  202. html =cws_getText();
  203. html=cws_rCode(html,"<a> </a>","");
  204.   document.oblogform.edit.value=html;
  205. }
  206. */
  207. function initx(){
  208. //IframeID.document.body.innerHTML=document.oblogform.edit.value;
  209. }
  210. function initt(){
  211. //IframeID.document.body.innerHTML="<a> </a>"+document.oblogform.edit.value;
  212. }
  213. if (0==1) {
  214. initt();
  215. }
  216. else{
  217. initx();
  218. }
  219. function part()
  220. {
  221. cws_InsertSymbol('<lt:Label res="res.label.editor_full.editor" key="part"/>');
  222. }
  223. function pastestr()
  224. {
  225. var tmpstr=window.clipboardData.getData("Text");
  226. if (tmpstr!=null)
  227. {
  228. if (IframeID.document.body.innerHTML!="") {
  229. if (confirm("<lt:Label res="res.label.editor_full.editor" key="confirm_coverage"/>") == false)
  230. return false;
  231. }
  232. IframeID.document.body.innerHTML=window.clipboardData.getData("Text");
  233. }
  234. }
  235. var editorRootPath = "<%=editorRootPath%>";
  236. </Script>
  237. <Script src="<%=editorRootPath%>/editor_full/editor.js"></Script>