Skip to:
Content
Pages
Categories
Search
Top
Bottom

TinyMCE Error


  • ross445
    Participant

    @ross445

    I’m trying to enable Visual Editor for my forum.
    I’m using this code – https://codex.bbpress.org/enable-visual-editor/

    However, it doesn’t work for me and i see this errors:

    jquery.js?ver=1.12.4:2 Uncaught Error: no such method 'instance' for autocomplete widget instance
    ...
    tinymce.min.js?ver=4711-20180425:2 Uncaught TypeError: Cannot read property 'refreshContentEditable' of undefined

    My bbPress version is 2.5.14
    Wordpress – 4.9.7

    Tried to disable all plugins, didn’t help..

Viewing 8 replies - 1 through 8 (of 8 total)

  • Robin W
    Moderator

    @robin-w

    my style pack plugin lets you choose this editor

    bbp style pack

    once activated go to

    dashboard>settings>bbp style pack>topic/reply form and look down to the editors


    ross445
    Participant

    @ross445

    Yes, i tried your plugin, but i still have that error in console .


    Robin W
    Moderator

    @robin-w

    is that the full error you posted above, if not can we see all of it (you can blank out the site name within any url, but we need to see any url)


    ross445
    Participant

    @ross445

    Here’s full console error that cause that:

    `rtm-upload-terms.min.js?ver=4.5.1:6 Uncaught TypeError: $ is not a function
    at HTMLDocument.<anonymous> (rtm-upload-terms.min.js?ver=4.5.1:6)
    at i (jquery.js?ver=1.12.4:2)
    at Object.fireWith [as resolveWith] (jquery.js?ver=1.12.4:2)
    at Function.ready (jquery.js?ver=1.12.4:2)
    at HTMLDocument.K (jquery.js?ver=1.12.4:2)
    (anonymous) @ rtm-upload-terms.min.js?ver=4.5.1:6
    i @ jquery.js?ver=1.12.4:2
    fireWith @ jquery.js?ver=1.12.4:2
    ready @ jquery.js?ver=1.12.4:2
    K @ jquery.js?ver=1.12.4:2
    jquery.js?ver=1.12.4:2 Uncaught Error: no such method ‘instance’ for autocomplete widget instance
    at Function.error (jquery.js?ver=1.12.4:2)
    at HTMLInputElement.<anonymous> (plugins.js?ver=4.9.8:38)
    at Function.each (jquery.js?ver=1.12.4:2)
    at a.fn.init.each (jquery.js?ver=1.12.4:2)
    at a.fn.init.$.fn.(/groups/legacy-forum-members/forum/anonymous function) [as autocomplete] (http://www.thelegacyforums.com/wp-content/themes/stockholm/js/plugins.js?ver=4.9.8:38:8111)
    at i.onPostRender (plugin.min.js?wp-mce-4800-20180716-tadv-4.7.11:1)
    at i.a (plugin.min.js?ver=4800-20180716-tadv-4.7.11:1)
    at jg.c.fire (tinymce.min.js?ver=4800-20180716-tadv-4.7.11:2)
    at i.fire (theme.min.js?wp-mce-4800-20180716-tadv-4.7.11:1)
    at i.postRender (theme.min.js?wp-mce-4800-20180716-tadv-4.7.11:1)’


    ross445
    Participant

    @ross445

    But your plugin is amazing! It works with my other website! Thanks!


    Robin W
    Moderator

    @robin-w

    that error suggests that your theme Stockholm and file js/plugins.js is the problem.

    So it initially looks like enabling tinymce within bbpress is calling the tinymce or other code within your theme – the bbpress code you are using just turns on the wordpress function.

    to prove, try switching as a test to a default theme, such as twentyseventeen and see if the error goes away


    ross445
    Participant

    @ross445

    Yes, works on different theme ..
    Thanks!


    Robin W
    Moderator

    @robin-w

    suggest you contact the theme author to see if they can fix

Viewing 8 replies - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.
Skip to toolbar