⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 tinymce_engine.html

📁 tinyMCE在线编辑器使用手册
💻 HTML
📖 第 1 页 / 共 5 页
字号:
	 Sets the baseURL of the specified plugin, this is useful if the plugin is loaded from
 a external location.
      </TD>
   </TR>

   <TR BGCOLOR="white" CLASS="TableRowColor">
      <TD ALIGN="right" VALIGN="top" WIDTH="1%">
	 <FONT SIZE="-1">
	    <CODE>&nbsp;void</CODE>
	 </FONT>
      </TD>
      <TD>
	 <CODE>
	    <B>
	       <A HREF="#setStyleAttrib">setStyleAttrib</A></B>(&lt;HTMLElement&gt; elm, &lt;string&gt; name, &lt;string&gt; value)
	 </CODE>
	 <BR>
	 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
	 Sets a style attribute item value.
      </TD>
   </TR>

   <TR BGCOLOR="white" CLASS="TableRowColor">
      <TD ALIGN="right" VALIGN="top" WIDTH="1%">
	 <FONT SIZE="-1">
	    <CODE>&nbsp;void</CODE>
	 </FONT>
      </TD>
      <TD>
	 <CODE>
	    <B>
	       <A HREF="#setupContent">setupContent</A></B>(&lt;string&gt; editor_id)
	 </CODE>
	 <BR>
	 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
	 Setups the contents of TinyMCE editor instance and fills it with contents.
      </TD>
   </TR>

   <TR BGCOLOR="white" CLASS="TableRowColor">
      <TD ALIGN="right" VALIGN="top" WIDTH="1%">
	 <FONT SIZE="-1">
	    <CODE>&nbsp;void</CODE>
	 </FONT>
      </TD>
      <TD>
	 <CODE>
	    <B>
	       <A HREF="#setWindowArg">setWindowArg</A></B>(&lt;string&gt; n, &lt;string&gt; v)
	 </CODE>
	 <BR>
	 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
	 Sets the window argument to be passed to TinyMCE popup.
      </TD>
   </TR>

   <TR BGCOLOR="white" CLASS="TableRowColor">
      <TD ALIGN="right" VALIGN="top" WIDTH="1%">
	 <FONT SIZE="-1">
	    <CODE>&nbsp;string</CODE>
	 </FONT>
      </TD>
      <TD>
	 <CODE>
	    <B>
	       <A HREF="#storeAwayURLs">storeAwayURLs</A></B>(&lt;string&gt; s)
	 </CODE>
	 <BR>
	 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
	 Stores away the src and href attribute values in separate mce_src and mce_href attributes.
      </TD>
   </TR>

   <TR BGCOLOR="white" CLASS="TableRowColor">
      <TD ALIGN="right" VALIGN="top" WIDTH="1%">
	 <FONT SIZE="-1">
	    <CODE>&nbsp;void</CODE>
	 </FONT>
      </TD>
      <TD>
	 <CODE>
	    <B>
	       <A HREF="#submitPatch">submitPatch</A></B>()
	 </CODE>
	 <BR>
	 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
	 Piggyback onsubmit event handler function, this will remove/hide the TinyMCE specific form elements
 call triggerSave to fill the textarea with the correct contents then call the old piggy backed event handler.
      </TD>
   </TR>

   <TR BGCOLOR="white" CLASS="TableRowColor">
      <TD ALIGN="right" VALIGN="top" WIDTH="1%">
	 <FONT SIZE="-1">
	    <CODE>&nbsp;void</CODE>
	 </FONT>
      </TD>
      <TD>
	 <CODE>
	    <B>
	       <A HREF="#switchClass">switchClass</A></B>(&lt;HTMLElement&gt; ei, &lt;string&gt; c)
	 </CODE>
	 <BR>
	 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
	 Switches the CSS class of the specified element.
      </TD>
   </TR>

   <TR BGCOLOR="white" CLASS="TableRowColor">
      <TD ALIGN="right" VALIGN="top" WIDTH="1%">
	 <FONT SIZE="-1">
	    <CODE>&nbsp;void</CODE>
	 </FONT>
      </TD>
      <TD>
	 <CODE>
	    <B>
	       <A HREF="#triggerNodeChange">triggerNodeChange</A></B>(&lt;boolean&gt; focus, &lt;boolean&gt; setup_content)
	 </CODE>
	 <BR>
	 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
	 Triggers a nodeChange event to every theme and plugin.
      </TD>
   </TR>

   <TR BGCOLOR="white" CLASS="TableRowColor">
      <TD ALIGN="right" VALIGN="top" WIDTH="1%">
	 <FONT SIZE="-1">
	    <CODE>&nbsp;void</CODE>
	 </FONT>
      </TD>
      <TD>
	 <CODE>
	    <B>
	       <A HREF="#triggerSave">triggerSave</A></B>(&lt;boolean&gt; skip_cleanup, &lt;boolean&gt; skip_callback)
	 </CODE>
	 <BR>
	 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
	 Moves the contents from a TinyMCE editor control instance to the hidden textarea
 that got replaced with TinyMCE.
      </TD>
   </TR>

   <TR BGCOLOR="white" CLASS="TableRowColor">
      <TD ALIGN="right" VALIGN="top" WIDTH="1%">
	 <FONT SIZE="-1">
	    <CODE>&nbsp;string</CODE>
	 </FONT>
      </TD>
      <TD>
	 <CODE>
	    <B>
	       <A HREF="#trim">trim</A></B>(&lt;string&gt; s)
	 </CODE>
	 <BR>
	 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
	 Removes all prefix, suffix whitespace of a string.
      </TD>
   </TR>

   <TR BGCOLOR="white" CLASS="TableRowColor">
      <TD ALIGN="right" VALIGN="top" WIDTH="1%">
	 <FONT SIZE="-1">
	    <CODE>&nbsp;void</CODE>
	 </FONT>
      </TD>
      <TD>
	 <CODE>
	    <B>
	       <A HREF="#unloadHandler">unloadHandler</A></B>()
	 </CODE>
	 <BR>
	 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
	 Unload document event handler function.
      </TD>
   </TR>

   <TR BGCOLOR="white" CLASS="TableRowColor">
      <TD ALIGN="right" VALIGN="top" WIDTH="1%">
	 <FONT SIZE="-1">
	    <CODE>&nbsp;void</CODE>
	 </FONT>
      </TD>
      <TD>
	 <CODE>
	    <B>
	       <A HREF="#updateContent">updateContent</A></B>(&lt;string&gt; form_element_name)
	 </CODE>
	 <BR>
	 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
	 Moves the contents from the hidden textarea to the editor that gets inserted.
      </TD>
   </TR>


</TABLE>



<P>
<!-- ========== END METHOD SUMMARY =========== -->


<!-- ============ FIELD DETAIL START =========== -->

   <A NAME="field_detail"><!-- --></A>
   <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
      <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
         <TD COLSPAN=1><FONT SIZE="+2"><B>Field Detail</B></FONT></TD>
      </TR>
   </TABLE>

   
   <A NAME="buttonMap"><!-- --></A>
   <H3>buttonMap</H3>
   <PRE>Object&nbsp;<B>buttonMap</B></PRE>
   <UL>
   
   
   </UL>
   <HR>
   
   <A NAME="configs"><!-- --></A>
   <H3>configs</H3>
   <PRE>Object&nbsp;<B>configs</B></PRE>
   <UL>
   
   
   </UL>
   <HR>
   
   <A NAME="currentConfig"><!-- --></A>
   <H3>currentConfig</H3>
   <PRE>Object&nbsp;<B>currentConfig</B></PRE>
   <UL>
   
   
   </UL>
   <HR>
   
   <A NAME="dialogCounter"><!-- --></A>
   <H3>dialogCounter</H3>
   <PRE>Object&nbsp;<B>dialogCounter</B></PRE>
   <UL>
   
   
   </UL>
   <HR>
   
   <A NAME="eventHandlers"><!-- --></A>
   <H3>eventHandlers</H3>
   <PRE>Object&nbsp;<B>eventHandlers</B></PRE>
   <UL>
   
   
   </UL>
   <HR>
   
   <A NAME="idCounter"><!-- --></A>
   <H3>idCounter</H3>
   <PRE>Object&nbsp;<B>idCounter</B></PRE>
   <UL>
   
   
   </UL>
   <HR>
   
   <A NAME="instances"><!-- --></A>
   <H3>instances</H3>
   <PRE>Object&nbsp;<B>instances</B></PRE>
   <UL>
   
   
   </UL>
   <HR>
   
   <A NAME="isGecko"><!-- --></A>
   <H3>isGecko</H3>
   <PRE>Object&nbsp;<B>isGecko</B></PRE>
   <UL>
   
   
   </UL>
   <HR>
   
   <A NAME="isLoaded"><!-- --></A>
   <H3>isLoaded</H3>
   <PRE>Object&nbsp;<B>isLoaded</B></PRE>
   <UL>
   
   
   </UL>
   <HR>
   
   <A NAME="isMac"><!-- --></A>
   <H3>isMac</H3>
   <PRE>Object&nbsp;<B>isMac</B></PRE>
   <UL>
   
   
   </UL>
   <HR>
   
   <A NAME="isMSIE"><!-- --></A>
   <H3>isMSIE</H3>
   <PRE>Object&nbsp;<B>isMSIE</B></PRE>
   <UL>
   
   
   </UL>
   <HR>
   
   <A NAME="isMSIE5"><!-- --></A>
   <H3>isMSIE5</H3>
   <PRE>Object&nbsp;<B>isMSIE5</B></PRE>
   <UL>
   
   
   </UL>
   <HR>
   
   <A NAME="isMSIE5_0"><!-- --></A>
   <H3>isMSIE5_0</H3>
   <PRE>Object&nbsp;<B>isMSIE5_0</B></PRE>
   <UL>
   
   
   </UL>
   <HR>
   
   <A NAME="isNS7"><!-- --></A>
   <H3>isNS7</H3>
   <PRE>Object&nbsp;<B>isNS7</B></PRE>
   <UL>
   
   
   </UL>
   <HR>
   
   <A NAME="isNS71"><!-- --></A>
   <H3>isNS71</H3>
   <PRE>Object&nbsp;<B>isNS71</B></PRE>
   <UL>
   
   
   </UL>
   <HR>
   
   <A NAME="isOpera"><!-- --></A>
   <H3>isOpera</H3>
   <PRE>Object&nbsp;<B>isOpera</B></PRE>
   <UL>
   
   
   </UL>
   <HR>
   
   <A NAME="isSafari"><!-- --></A>
   <H3>isSafari</H3>
   <PRE>Object&nbsp;<B>isSafari</B></PRE>
   <UL>
   
   
   </UL>
   <HR>
   
   <A NAME="loadedFiles"><!-- --></A>
   <H3>loadedFiles</H3>
   <PRE>Object&nbsp;<B>loadedFiles</B></PRE>
   <UL>
   
   
   </UL>
   <HR>
   
   <A NAME="loadedPlugins"><!-- --></A>
   <H3>loadedPlugins</H3>
   <PRE>Object&nbsp;<B>loadedPlugins</B></PRE>
   <UL>
   
   
   </UL>
   <HR>
   
   <A NAME="majorVersion"><!-- --></A>
   <H3>majorVersion</H3>
   <PRE>Object&nbsp;<B>majorVersion</B></PRE>
   <UL>
   
   
   </UL>
   <HR>
   
   <A NAME="minorVersion"><!-- --></A>
   <H3>minorVersion</H3>
   <PRE>Object&nbsp;<B>minorVersion</B></PRE>
   <UL>
   
   
   </UL>
   <HR>
   
   <A NAME="plugins"><!-- --></A>
   <H3>plugins</H3>
   <PRE>Object&nbsp;<B>plugins</B></PRE>
   <UL>
   
   
   </UL>
   <HR>
   
   <A NAME="releaseDate"><!-- --></A>
   <H3>releaseDate</H3>
   <PRE>Object&nbsp;<B>releaseDate</B></PRE>
   <UL>
   
   
   </UL>
   <HR>
   
   <A NAME="switchClassCache"><!-- --></A>
   <H3>switchClassCache</H3>
   <PRE>Object&nbsp;<B>switchClassCache</B></PRE>
   <UL>
   
   
   </UL>
   <HR>
   
   <A NAME="themes"><!-- --></A>
   <H3>themes</H3>
   <PRE>Object&nbsp;<B>themes</B></PRE>
   <UL>
   
   
   </UL>
   <HR>
   
   <A NAME="windowArgs"><!-- --></A>
   <H3>windowArgs</H3>
   <PRE>Object&nbsp;<B>windowArgs</B></PRE>
   <UL>
   
   
   </UL>
   <HR>
   


<!-- ============ FIELD DETAIL END =========== -->

    <!-- ========= CONSTRUCTOR DETAIL START ======== -->

<A NAME="constructor_detail"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
   <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
      <TD COLSPAN=1>
      <FONT SIZE="+2"><B>Constructor Detail</B></FONT>
      </TD>
   </TR>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -