• Howdy,

    i’ve installed a wordpress theme using the kopa framework, also installed a forum plugin. When i try to activate the visual editor in this forum plugin, the editor toolbar is empty and i get following error in the console

    Uncaught ReferenceError: kopa_shortcodes_globals is not defined
    tabs.js:5

    content there is

    (function() {
        tinymce.PluginManager.add('tabs', function( editor, url ) {
            editor.addButton( 'tabs', {
                title: 'Tabs',
                image: kopa_shortcodes_globals.pluginUrl + '/js/shortcodes/icons/tabs.png',
    		    onclick: function() {
                    editor.insertContent('[tabs] [tab title="Tab 1"]Tab content 1[/tab] [tab title="Tab 2"]Tab content 2[/tab] [tab title="Tab 3"]Tab content 3[/tab] [/tabs]');
                }
            });
        });
    })();

    Isnt it possible to activate the visual editor in frontend plugins? How can i solve this?

    I’m using

    • WordPress 4.7.1
    • Theme: Forceful Lite
    • Forum: Asgaros Forum

The topic ‘Visual editor in forum plugin’ is closed to new replies.