<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>evolutionTextEditor jQuery Plugin</title><link>https://community.telligent.com/community/13/w/api-documentation/75784/evolutiontexteditor-jquery-plugin</link><description>&lt;p&gt;&lt;span&gt;Developing on Verint Community? Use the API documentation as a reference for all supported interactions with Verint Community.&lt;/span&gt;&lt;/p&gt;</description><dc:language>en-US</dc:language><generator>14.0.0.586 14</generator><item><title>evolutionTextEditor jQuery Plugin</title><link>https://community.telligent.com/community/13/w/api-documentation/75784/evolutiontexteditor-jquery-plugin</link><pubDate>Fri, 08 Mar 2024 17:51:41 GMT</pubDate><guid isPermaLink="false">12b76e4f-2118-46e8-85af-abcce741fe0c</guid><dc:creator>Ben Tiedt</dc:creator><comments>https://community.telligent.com/community/13/w/api-documentation/75784/evolutiontexteditor-jquery-plugin#comments</comments><description>Current Revision posted to API Documentation by Ben Tiedt on 03/08/2024 17:51:41&lt;br /&gt;
&lt;hr class="generated-documentation-start" style="border-width:0;" /&gt;&lt;h3&gt;jQuery.fn.evolutionTextEditor&lt;/h3&gt;
&lt;p&gt;This plugin supports enhancing a text area with support for editing HTML suitable for use as a primary content editor.&lt;/p&gt;
&lt;h3&gt;Usage&lt;/h3&gt;
&lt;pre&gt;&lt;code&gt;$(&amp;#39;SELECTOR&amp;#39;).evolutionTextEditor(options)
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;where &amp;#39;SELECTOR&amp;#39; is a textarea.&lt;/p&gt;
&lt;h3&gt;Options&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;plugins&lt;/code&gt;: (array) list of [[evolutionComposer jQuery Plugin|evolutionComposer]] plugins to enable for this text editor
&lt;ul&gt;
&lt;li&gt;default &lt;code&gt;[]&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;readOnlyMessage&lt;/code&gt;: (string) message to show when a user attempts to edit content that cannot be edited in plain text mode
&lt;ul&gt;
&lt;li&gt;default ``&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;Methods&lt;/h3&gt;
&lt;h4&gt;val&lt;/h4&gt;
&lt;p&gt;Returns (and sets if passed a second optional value) the current HTML result of the text editor&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;// get the value
var value = $(&amp;#39;SELECTOR&amp;#39;).evolutionTextEditor(&amp;#39;val&amp;#39;);

// set the value
$(&amp;#39;SELECTOR&amp;#39;).evolutionTextEditor(&amp;#39;val&amp;#39;, &amp;#39;&amp;lt;p&amp;gt;New content&amp;lt;/p&amp;gt;&amp;#39;);
&lt;/code&gt;&lt;/pre&gt;

&lt;h4&gt;focus&lt;/h4&gt;
&lt;p&gt;Focuses on the editor.&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;$(&amp;#39;SELECTOR&amp;#39;).evolutionTextEditor(&amp;#39;focus&amp;#39;);
&lt;/code&gt;&lt;/pre&gt;

&lt;h4&gt;resize&lt;/h4&gt;
&lt;p&gt;Resizes the editor to a specific width/height.&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;$(&amp;#39;SELECTOR&amp;#39;).evolutionTextEditor(&amp;#39;resize&amp;#39;, width, height);
&lt;/code&gt;&lt;/pre&gt;

&lt;h4&gt;onKeyDown&lt;/h4&gt;
&lt;p&gt;Registers a function to be called when a key is pressed.&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;$(&amp;#39;SELECTOR&amp;#39;).evolutionTextEditor(&amp;#39;onKeyDown&amp;#39;, callback);
&lt;/code&gt;&lt;/pre&gt;

&lt;hr class="generated-documentation-end" style="border-width:0;" /&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;
</description></item></channel></rss>