jQuery.telligent.evolution.ui.components.html
UI Component which enables a body of a textarea to be editable with rich editing support using evolutionHtmlEditor. The default implementation uses the evolutionHtmlEditor plugin. Overrides can be provided at the theme level.
Options
Data made available to instances of the component:
width
: The width of the HTML editor (default: '100%')height
: The height of the HTML editor (default: '300px')contenttypeid
: The content type identifier for the content being edited. This enables content-type-specific content filtering and functionality (default: null)placeholder
: The placeholder text to show in the editor when it is empty (default: null)enablefileupload
: When specified, forces file uploading support on or off. When null, file uploading support is determined by reviewing the specified content type's capabilities and filtering configuration (default: null)submittable
: Enables direct submission of the content from the editor (default: false)entertosubmitprompt
: When configured to be submittable, the text to enable typing enter to submit the content being edited (default: null)submitlabel
: When configured to be submittable, the text shown on the submission button, when shown (default: null)beforesubmithtml
: When configured to be submittable, HTML that should be rendered before the submit button or prompt (default: null)aftersubmithtml
: When configured to be submittable, the HTML that should be rendered after the submit button or prompt (default: null)autoresize
: When enabled, the editor will resize to fit the content by height (default: false)enableentertosubmittoggle
: When submittable, identifies whether the option to turn enter-to-submit on/off should be shown (default: false)
See also
Example
<textarea class="ui-html" data-width="100%" data-height="200px">
<b>This is bold</b> and this isn't.
</pre>