Results 1 to 1 of 1

Thread: How to add CLSEDITOR

  1. #1
    Thread Starter
    Expired Customer helir's Avatar
    Join Date
    May 2013
    Location
    Austria
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts

    How to add CLSEDITOR

    CLEDITOR is a little plugin that allows HTML-Edit in comments, description .....
    is a little sister to tinyMCE.

    Having it installed I just got it in the comment-textarea of the events, not the listings. Following change in Plugins - Source in the first file
    cleditor-for-wordpress/cleditor-for-wordpress.php
    adds CLEDITOR to comment field in the listing.

    just look in http://www.goodbusiness.at/listings/slowmo/



    add_action( 'wp_enqueue_scripts', 'cleditor_enqueue' );
    ?>
    <?php
    function add_cleditor() { ?>
    <!-- CLEditor starts -->
    <script>
    <!--
    jQuery(document).ready(function() {
    jQuery("#comment, #add-review-form textarea, #reply-review-form textarea, #new-topic-post textarea, #new-post textarea, #whats-new-textarea textarea, #post-topic-reply textarea").cleditor();
    });
    //-->
    </script>
    <!-- CLEditor ends -->

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)