Jump to content


Submitter

SUPPORT TOPIC File Information

  • Submitted: Jul 19 2007 09:29 PM
  • Last Updated: Jul 19 2007 09:29 PM
  • File Size: 4.74K
  • Views: 3453
  • Downloads: 463

Download RTE (Rich Text Editor)

- - - - -



This snippet can be used to integrate the RTE WYSIWYG editor into custom snippets. The RTE snippet is required by the RTE Blogger snippet.

// Snippet Name: RTE
// Purpose: Snippet to create a Rich Text Editor
// Created By: Ralph A. Dahlgren
// Created: 2006-08-02 - Initial release with the Etomite RTE integration
// Modified: 2007-04-17 - modified $path value and additional usage information
// Use: Place a snippet call where the textarea should be in the form
// [!RTE?rte=<field_name>&value=<data>!]
// OR: Called using runSnippet() from within another snippet
// $wysiwyg = $etomite->runSnippet("RTE",$params=array('rte'=>'text', 'value'=>$entryText));
// Usage requires inclusion of the onsubmit form attribute as noted below
// <form name="RTEDemo" action="" method="post" onsubmit="return submitForm();">






  • 248 Total Files
  • 19 Total Categories
  • 50 Total Authors
  • 130,606 Total Downloads
  • TripTracker Gallery Latest File
  • Dean Latest Submitter