Home > Net >  Remove upgrade button in TinyMCE
Remove upgrade button in TinyMCE

Time:11-01

I am using tinymce in inline mode and am new to the tool. I've gotten my text field input to look how I want with minimal editing buttons. However, I am stumped on how to remove the "Upgrade" button from the toolbar when the text field is active.

enter image description here

Is this even possible?

Here is the initialization that I am using. I am using a self-hosted community installation on a WAMP server.

`

<script>
    tinymce.init({
        selector: '#addressinput',
        inline: true,
        toolbar: 'bold underline italic superscript',
        menubar: '',
        branding: false,
        force_br_newlines : true,
        min_height: 100
    });
</script>

`

CodePudding user response:

The TinyMCE Docs include instructions for turning the Premium Upgrade Promotion Option off.

CodePudding user response:

The above link^ to the Docs explains the step involved. Essentially, the following will disable the upgrade item:

tinymce.init({
//other configuration,
promotion: false
});

  • Related