Support » Plugin: BP-TinyMCE » [Plugin: BP-TinyMCE] Can't input text in activity reply

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hello,
    I have the same problem. Work perfectly everywhere else.

    It seems that there is a jquery error (firebug console):

    j is null
    /wp-includes/js/tinymce/tiny_mce.js?ver=342-20110630

    Is there some fix or is it possible to disable tynimce only on “response to an activity” ?

    Thanks in advance for your help.

    Wp 3.2.1
    BP 1.2.10
    Bp-tynimce 0.4.1

    Hi,

    I’ve just done a hack for this, it’s not great and I’m sure someone can come up with a better one.

    Here’s what I did:

    Removed line 85 form bp-tinymce.php

    unset( $initArray['editor_selector'] );

    This now says that for the editor to display it will need the class ‘theEditor’.

    I only wanted the editor in the forum part of BP so I then added that class to the textareas in form-topic.php & form-reply.php.

    I guess if you wanted it on comments it would be simple to add that class to your comment form template.

    I’ll probably look more into this when I have a bit more time.

    Same problem for me. Seems to be that TinyMCE disabled the editor for hidden containers.

    What I’ve done, is basically added an exception to the initArray to NOT convert any of the activity comment textareas to the WYSIWYG by implementing the following filter hook:

    add_filter( 'bp_tinymce_init_parms', 'my_bp_tinymce_init_parms');
    function my_bp_tinymce_init_parms($initArray) {
        // change the available buttons - optional
        $initArray['theme_advanced_buttons1'] = 'bold, italic, underline, blockquote, separator, strikethrough, bullist, numlist, link, unlink, image';
        // Disable the WYSIWYG on textareas with class ac-input
        $initArray['editor_deselector'] = 'ac-input';
        return $initArray;
    }

    Here, I also change the available buttons… in case anyone wants to do that too.

    HTH

    Thread Starter peeld

    (@peeld)

    I just used another plugin 🙂

    @peeld

    Which one?

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Plugin: BP-TinyMCE] Can't input text in activity reply’ is closed to new replies.