You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
304 KiB

2 years ago
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
  1. /*
  2. This file is part of Ext JS 3.4
  3. Copyright (c) 2011-2013 Sencha Inc
  4. Contact: http://www.sencha.com/contact
  5. GNU General Public License Usage
  6. This file may be used under the terms of the GNU General Public License version 3.0 as
  7. published by the Free Software Foundation and appearing in the file LICENSE included in the
  8. packaging of this file.
  9. Please review the following information to ensure the GNU General Public License version 3.0
  10. requirements will be met: http://www.gnu.org/copyleft/gpl.html.
  11. If you are unsure which license is appropriate for your use, please contact the sales department
  12. at http://www.sencha.com/contact.
  13. Build date: 2013-04-03 15:07:25
  14. */
  15. Ext.data.JsonP.Ext_form_HtmlEditor({"alternateClassNames":[],"aliases":{"widget":["htmleditor"]},"enum":null,"parentMixins":[],"tagname":"class","subclasses":[],"extends":"Ext.form.Field","uses":[],"html":"<div><pre class=\"hierarchy\"><h4>Hierarchy</h4><div class='subclass first-child'><a href='#!/api/Ext.util.Observable' rel='Ext.util.Observable' class='docClass'>Ext.util.Observable</a><div class='subclass '><a href='#!/api/Ext.Component' rel='Ext.Component' class='docClass'>Ext.Component</a><div class='subclass '><a href='#!/api/Ext.BoxComponent' rel='Ext.BoxComponent' class='docClass'>Ext.BoxComponent</a><div class='subclass '><a href='#!/api/Ext.form.Field' rel='Ext.form.Field' class='docClass'>Ext.form.Field</a><div class='subclass '><strong>Ext.form.HtmlEditor</strong></div></div></div></div></div><h4>Files</h4><div class='dependency'><a href='source/HtmlEditor.html#Ext-form-HtmlEditor' target='_blank'>HtmlEditor.js</a></div></pre><div class='doc-contents'><p>Provides a lightweight HTML Editor component. Some toolbar features are not supported by Safari and will be\nautomatically hidden when needed. These are noted in the config options where appropriate.</p>\n\n<br><br>The editor's toolbar buttons have tooltips defined in the <a href=\"#!/api/Ext.form.HtmlEditor-property-buttonTips\" rel=\"Ext.form.HtmlEditor-property-buttonTips\" class=\"docClass\">buttonTips</a> property, but they are not\n\n\n<p>enabled by default unless the global <a href=\"#!/api/Ext.QuickTips\" rel=\"Ext.QuickTips\" class=\"docClass\">Ext.QuickTips</a> singleton is <a href=\"#!/api/Ext.QuickTips-method-init\" rel=\"Ext.QuickTips-method-init\" class=\"docClass\">initialized</a>.</p>\n\n<br><br><b>Note: The focus/blur and validation marking functionality inherited from <a href=\"#!/api/Ext.form.Field\" rel=\"Ext.form.Field\" class=\"docClass\">Ext.form.Field</a> is NOT\n\n\n<p>supported by this editor.</b></p>\n\n<br><br>An Editor is a sensitive component that can't be used in all spots standard fields can be used. Putting an Editor within\n\n\n<p>any element that has display set to 'none' can cause problems in Safari and Firefox due to their default iframe reloading bugs.</p>\n\n<br><br>Example usage:\n\n\n<pre><code>// Simple example rendered with default options:\n<a href=\"#!/api/Ext.QuickTips-method-init\" rel=\"Ext.QuickTips-method-init\" class=\"docClass\">Ext.QuickTips.init</a>(); // enable tooltips\nnew <a href=\"#!/api/Ext.form.HtmlEditor\" rel=\"Ext.form.HtmlEditor\" class=\"docClass\">Ext.form.HtmlEditor</a>({\n renderTo: <a href=\"#!/api/Ext-method-getBody\" rel=\"Ext-method-getBody\" class=\"docClass\">Ext.getBody</a>(),\n width: 800,\n height: 300\n});\n\n// Passed via xtype into a container and with custom options:\n<a href=\"#!/api/Ext.QuickTips-method-init\" rel=\"Ext.QuickTips-method-init\" class=\"docClass\">Ext.QuickTips.init</a>(); // enable tooltips\nnew <a href=\"#!/api/Ext.Panel\" rel=\"Ext.Panel\" class=\"docClass\">Ext.Panel</a>({\n title: 'HTML Editor',\n renderTo: <a href=\"#!/api/Ext-method-getBody\" rel=\"Ext-method-getBody\" class=\"docClass\">Ext.getBody</a>(),\n width: 600,\n height: 300,\n frame: true,\n layout: 'fit',\n items: {\n xtype: 'htmleditor',\n enableColors: false,\n enableAlignments: false\n }\n});\n</code></pre>\n\n</div><div class='members'><div class='members-section'><div class='definedBy'>Defined By</div><h3 class='members-title icon-cfg'>Config options</h3><div class='subsection'><div id='cfg-anchor' class='member first-child inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><a href='#!/api/Ext.BoxComponent' rel='Ext.BoxComponent' class='defined-in docClass'>Ext.BoxComponent</a><br/><a href='source/BoxComponent.html#Ext-BoxComponent-cfg-anchor' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Ext.BoxComponent-cfg-anchor' class='name expandable'>anchor</a><span> : <a href=\"#!/api/String\" rel=\"String\" class=\"docClass\">String</a></span></div><div class