исправления в текстах документации по плагинам

This commit is contained in:
alexandervnuchkov 2016-09-13 17:47:59 +03:00
parent f4f72d85fd
commit fe3546682b

View File

@ -53,14 +53,14 @@
<td class="type">
<span class="param-type">string</span>
</td>
<td class="builder_description last">Plugin name.</td>
<td class="builder_description last">Plugin name which will be visible at the plugin toolbar.</td>
</tr>
<tr>
<td class="name"><code>guid</code></td>
<td class="type">
<span class="param-type">ID</span>
</td>
<td class="builder_description last">Plugin identifier. It <b>must</b> be of the type <code>asc.{uuid}</code></td>
<td class="builder_description last">Plugin identifier. It <b>must</b> be of the <code>asc.{uuid}</code> type.</td>
</tr>
<tr>
<td class="name"><code>baseUrl</code></td>
@ -88,7 +88,7 @@
<td class="type">
<span class="param-type">string</span>
</td>
<td class="builder_description last">Plugin entry point, i.e. HTML file which connects the <code>config.json</code> and <code>pluginBase.js</code> (the base file needed for work with plugins) files. See the <span class="param-type"><a href="<%=VirtualPathUtility.ToAbsolute("~/developers/plugins/plugin-structure/index.html.aspx")%>">index.html</a></span> section for the detailed information.</td>
<td class="builder_description last">Plugin entry point, i.e. HTML file which connects the <code>pluginBase.js</code> (the base file needed for work with plugins) file and launches the plugin code. See the <span class="param-type"><a href="<%=VirtualPathUtility.ToAbsolute("~/developers/plugins/plugin-structure/index.html.aspx")%>">index.html</a></span> section for the detailed information.</td>
</tr>
<tr>
<td class="name"><code>icons</code></td>
@ -123,21 +123,21 @@
<td class="type">
<span class="param-type">boolean</span>
</td>
<td class="builder_description last">Specifies if the opened plugin window is modal or not (used for visual plugins only).</td>
<td class="builder_description last">Specifies if the opened plugin window is modal, i.e. a separate modal window must be opened, or not (used for visual plugins only). The following rule must be observed at all times: <code>isModal != isInsideMode</code>.</td>
</tr>
<tr>
<td class="name"><code>isInsideMode</code></td>
<td class="type">
<span class="param-type">boolean</span>
</td>
<td class="builder_description last">Specifies if the plugin must be displayed inside the editor panel instead of its own window (used for visual non-modal plugins only).</td>
<td class="builder_description last">Specifies if the plugin must be displayed inside the editor panel instead of its own window (used for visual non-modal plugins only). The following rule must be observed at all times: <code>isModal != isInsideMode</code>.</td>
</tr>
<tr>
<td class="name"><code>initDataType</code></td>
<td class="type">
<span class="param-type">"none" | "text" | "html" | "ole"</span>
</td>
<td class="builder_description last">The data type which the editor must provide the plugin with: <code>"text"</code> - the text data, <code>"html"</code> - HTML formatted code, <code>"ole"</code> - OLE object data, <code>"none"</code> - no data will be send to the plugin from the editor.</td>
<td class="builder_description last">The data type selected in the editor and sent to the plugin: <code>"text"</code> - the text data, <code>"html"</code> - HTML formatted code, <code>"ole"</code> - OLE object data, <code>"none"</code> - no data will be send to the plugin from the editor.</td>
</tr>
<tr>
<td class="name"><code>initData</code></td>
@ -158,7 +158,7 @@
<td class="type">
<span class="param-type">array</span>
</td>
<td class="builder_description last">The plugin buttons used in the plugin interface (used for visual plugins with their own window only, i.e. <code>isVisual == true && isInsideMode == false</code>).</td>
<td class="builder_description last">The list of skinnable plugin buttons used in the plugin interface (used for visual plugins with their own window only, i.e. <code>isVisual == true && isInsideMode == false</code>). The buttons can be primary or not, the primary flag affecting the button skin only.</td>
</tr>
<tr>
<td class="name"><code>initOnSelectionChanged</code></td>